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

Remove DmaChannel::set_priority #3088

Merged
merged 1 commit into from
Feb 3, 2025
Merged

Remove DmaChannel::set_priority #3088

merged 1 commit into from
Feb 3, 2025

Conversation

bugadani
Copy link
Contributor

@bugadani bugadani commented Feb 3, 2025

Closes #3085

The intended way is to configure either the dma-enabled peripheral, or the transfer itself to run at a certain priority. Also, we treat the DMA channels as peripheral singletons, and those aren't supposed to have any methods, logic, or even state attached to them.

@bugadani bugadani changed the title Remove set_priority Remove DmaChannel::set_priority Feb 3, 2025
@bjoernQ
Copy link
Contributor

bjoernQ commented Feb 3, 2025

The intended way is to configure either the dma-enabled peripheral, or the transfer itself to run at a certain priority

But we don't have that functionality, yet? Should we have an issue for that (or do we already have an issue for it?)

Copy link
Contributor

@bjoernQ bjoernQ left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Definitely fixes the linked bug

Copy link
Member

@MabezDev MabezDev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As @bjoernQ mentioned, please open an issue about dma prio. LGTM.

@MabezDev MabezDev added this pull request to the merge queue Feb 3, 2025
@bugadani
Copy link
Contributor Author

bugadani commented Feb 3, 2025

#3089

Merged via the queue into esp-rs:main with commit 28e935a Feb 3, 2025
28 checks passed
@bugadani bugadani deleted the prio branch February 3, 2025 10:57
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.

DmaChannel::set_priority doesn't work anymore
4 participants