We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
当RTT开启finsh后,如果在系统刚刚启动,还没到finsh_set_device()过程中在控制台中输入按键,这时系统会断言停在RT_ASSERT(rx_fifo != RT_NULL)位置。
bernard已回复:这个时候finsh还没去打开串口设备,所以有问题
The text was updated successfully, but these errors were encountered:
这个严格来说不是finsh/serial驱动模型的bug,而是底层UART驱动错误的提前打开了接收中断。需要确保底层UART驱动只有在control中是RT_DEVICE_CTRL_SET_INT命令时才去打开接收中断。
Sorry, something went wrong.
No branches or pull requests
当RTT开启finsh后,如果在系统刚刚启动,还没到finsh_set_device()过程中在控制台中输入按键,这时系统会断言停在RT_ASSERT(rx_fifo != RT_NULL)位置。
bernard已回复:这个时候finsh还没去打开串口设备,所以有问题
The text was updated successfully, but these errors were encountered: