Code Monkey home page Code Monkey logo

Comments (3)

wuhanstudio avatar wuhanstudio commented on September 22, 2024

最近打算把 RT-Thread 的控制台 MSH 移植过来,控制台可以正常输出,但是却没法读取,发现卡在了 uart_read()

ezgif com-video-to-gif

hbird-sdk 里移植的 RT-thread 也是只实现了 rt_hw_console_output(),没有实现 rt_hw_console_getchar(),所以我在想是不是串口读有些问题。

from hbird-sdk.

fanghuaqi avatar fanghuaqi commented on September 22, 2024

串口读应该没问题,你把波特率设置为57600bps看看,115200bps读取会有点问题,8Mhz主频过低造成的

from hbird-sdk.

wuhanstudio avatar wuhanstudio commented on September 22, 2024

串口读应该没问题,你把波特率设置为57600bps看看,115200bps读取会有点问题,8Mhz主频过低造成的

多谢,确实串口是没问题的,这样 RT-Thread 的 msh 控制台就可以完整使用了 。我刚刚提了一个 PR,增加了一个控制台的 demo。

msh 是 rtt 很受欢迎的组件,你觉得把这个组件加进来作为一个 demo 怎么样 ;)

from hbird-sdk.

Related Issues (6)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.