Skip to content
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

Enable UART interrupts and buffering to avoid blocking #108

Open
augustofg opened this issue Dec 16, 2020 · 0 comments
Open

Enable UART interrupts and buffering to avoid blocking #108

augustofg opened this issue Dec 16, 2020 · 0 comments

Comments

@augustofg
Copy link
Member

Writing to the serial port blocks the task for several milliseconds as it is not buffered now. A better approach would be to enable TX UART interrupts and use a ring buffer to avoid blocking in every write to the serial port.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant