代码拉取完成,页面将自动刷新
复制官网文章的代码 写一个QR.C 放在
D:\GKOSON_BACK_GARDEN\repository\RTT-GIT\rt-thread\bsp\stm32\stm32f412-koson625\applications
然后XSHELL
help
RT-Thread shell commands:
uart_sample - uart device sample
reboot - Reboot System
version - show RT-Thread version information
list_thread - list thread
list_sem - list semaphore in system
list_event - list event in system
list_mutex - list mutex in system
list_mailbox - list mail box in system
list_msgqueue - list message queue in system
list_mempool - list memory pool in system
list_timer - list timer in system
list_device - list device in system
help - RT-Thread shell help.
ps - List threads in the system.
time - Execute command with time.
free - Show the memory usage in the system.
msh >uart_sample
hello RT-Thread!
msh >
此时#define SAMPLE_UART_NAME "uart1"
板子其实是6
此时#define SAMPLE_UART_NAME "uart6"
则
msh >uart_sample
find uart6 failed!
msh >
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。