Comments (3)
最近打算把 RT-Thread 的控制台 MSH 移植过来,控制台可以正常输出,但是却没法读取,发现卡在了 uart_read()
hbird-sdk 里移植的 RT-thread 也是只实现了 rt_hw_console_output(),没有实现 rt_hw_console_getchar(),所以我在想是不是串口读有些问题。
from hbird-sdk.
串口读应该没问题,你把波特率设置为57600bps看看,115200bps读取会有点问题,8Mhz主频过低造成的
from hbird-sdk.
串口读应该没问题,你把波特率设置为57600bps看看,115200bps读取会有点问题,8Mhz主频过低造成的
多谢,确实串口是没问题的,这样 RT-Thread 的 msh 控制台就可以完整使用了 。我刚刚提了一个 PR,增加了一个控制台的 demo。
msh 是 rtt 很受欢迎的组件,你觉得把这个组件加进来作为一个 demo 怎么样 ;)
from hbird-sdk.
Related Issues (6)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hbird-sdk.