Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
1817: Fix one byte UART transmissions for lowrisc (maybe) r=ppannuto a=bradjc ### Pull Request Overview This pull request attempts to fix #1736. The issue is that the lowrisc UART TX driver can call a callback directly after a request is made, but for Tock's concurrency model that callback must be issued in response to an interrupt being handled so that the original caller can complete before the callback executes. This change forces a TX interrupt to always happen, and only issues the callback in the handle_interrupt call if all bytes have been transmitted. ### Testing Strategy This is where I need help. I don't have an open titan setup, so this PR needs to be tested. ### TODO or Help Wanted Help with someone checking if this is a valid fix. ### Documentation Updated - [x] Updated the relevant files in `/docs`, or no updates are required. ### Formatting - [x] Ran `make formatall`. Co-authored-by: Brad Campbell <bradjc5@gmail.com>
- Loading branch information