-
Notifications
You must be signed in to change notification settings - Fork 1.1k
BufferedUart initialization #3983
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
BufferedUart initialization #3983
Conversation
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.
Looks good, though we should probably also ensure so that embassy-nrf and embassy-stm32 are consistent with embassy-rp. Would you like to make modifications to them as well while you're at it?
I'll knock that out later today! |
I think this is ready now - I really need to learn how to script builds for all the example architectures, I was just letting CI catch failures as I went on. 😅 |
Thanks! Could you rebase this please? |
1193320
to
6c9b82f
Compare
@lulf good to go. |
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.
Thanks!
Could you also squash these commits? I guess this will break the API for lots of people, so it's worth adding a note to the changelogs for each HAL as well I think. |
ff16fe2
to
b9332ed
Compare
This change modifies UART initialization throughout Embassy to take pins before interrupts. Related to embassy-rs#1304.
b9332ed
to
f1feedf
Compare
@lulf squashed commits and added notes to changelogs. |
Thanks! |
Modifies BufferedUart new() and new_with_rtscts() to take pins before interrupts at initialization.
Related to #1304.