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

stm32: Fix RingBufferedUartRx hard-resetting DMA after initial error #3356

Merged
merged 4 commits into from
Sep 22, 2024

Conversation

peterkrull
Copy link
Contributor

This fixes the RingBufferedUartRx::read never being able to recover after an initial overrun error, due the the complete reset of the DMA channel, instead of a temporary pause.

Possibly related issues: #1441 #1427

@peterkrull
Copy link
Contributor Author

peterkrull commented Sep 19, 2024

Actually, this requires one more change within RingBufferedUartRx to be fully fixed
edit: That fixed is also included now

@peterkrull
Copy link
Contributor Author

The last commit refers to #3336 where it avoids a panic

@Dirbaio Dirbaio added this pull request to the merge queue Sep 22, 2024
github-merge-queue bot pushed a commit that referenced this pull request Sep 22, 2024
stm32: Fix RingBufferedUartRx hard-resetting DMA after initial error
Merged via the queue into embassy-rs:main with commit 233905e Sep 22, 2024
6 checks passed
@peterkrull peterkrull deleted the ringbuffered-uartrx-deadlock branch September 22, 2024 19:13
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