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

create uart-dma.rs example #698

Merged
merged 5 commits into from
Nov 23, 2023
Merged

create uart-dma.rs example #698

merged 5 commits into from
Nov 23, 2023

Conversation

hacknus
Copy link
Contributor

@hacknus hacknus commented Nov 23, 2023

I created a simple example for using UART with DMA (only on the rx side).
This solves the issue of overrun errors (see #696) when the interrupt handler is not quick enough and data is lost on the input.

examples/uart-dma.rs Outdated Show resolved Hide resolved
Co-authored-by: Zgarbul Andrey <zgarbul.andrey@gmail.com>
@burrbull burrbull added this pull request to the merge queue Nov 23, 2023
Merged via the queue into stm32-rs:master with commit 0af3c30 Nov 23, 2023
23 checks passed
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.

2 participants