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
OpenTitan: Add support for receiving data over the UART #1828
Conversation
It appears to be OK per the HIL to not wait until all the requested bytes are received, but the callback should return Lines 266 to 278 in 903b90c
|
98e9674
to
0c15ba7
Compare
Updated |
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
0c15ba7
to
c194650
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Didn't test, looks reasonable.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
bors d+
Deferring to OT-WG members to merge
✌️ alistair23 can now approve this pull request. To approve and merge a pull request, simply reply with |
bors r+ |
Pull Request Overview
This PR adds support to the LowRISC UART driver to read data from the UART.
Testing Strategy
Tested by running the
console_recv_short
libtock-c example on the OpenTitan QEMU model and OpenTitan FPGA.TODO or Help Wanted
Documentation Updated
/docs
, or no updates are required.Formatting
make formatall
.