-
Notifications
You must be signed in to change notification settings - Fork 181
New issue
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
Async Uart Write hangs forever #362
Comments
It does not work because - apparently - the ESP IDF UART driver does not send any notification on UART FIFO queue being empty / being consumed: espressif/arduino-esp32#6385 Options to fix this:
|
@t-moe I've in the meantime come with a simple solution which uses the Maybe you can try it out. |
Hei @ivmarkov , |
The following code blocks forever on the
write_all
line, if I write more than 129 bytes.130 bytes are output to uart, then the core hangs up....
Also, consider this modification which inlines
write_all
:It works and outputs:
But when I remove the
log::info
line it will just hang forever as before.This seems to be a timing thing.
I'm using esp-idf master. and esp-idf-hal v0.42.5
The text was updated successfully, but these errors were encountered: