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

feature(embassy-stm32): blocking uart timeout #2575

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

MathiasKoch
Copy link
Contributor

This PR adds timeout to the blocking API of UART (write and flush), that was previous potential infinite loops, if started in a misconfigured state.

It moves the timeout handling from i2c to a general timeout module, that can be used for all peripherals down the road.

All timeout handling is feature-gated behind the time flag.

@MathiasKoch MathiasKoch marked this pull request as draft February 15, 2024 11:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant