read uart not timeout
xzxzhao opened this issue · comments
I found that this library did not time out when reading the serial port, causing other tasks in the project to be unable to execute
It all depends how you implement low level driver. When using OS mode, indeed interrupt/DMA mode with thread sleep should be the right strategy to move forward.
Drivers in the repository are for demo purpose and indeed should be adapted for real application.