-
-
Notifications
You must be signed in to change notification settings - Fork 39.6k
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
Allow for WS2812 PWM to work on DMAMUX-capable devices #9471
Conversation
b29b112
to
9c3a916
Compare
74e4557
to
19e0fd1
Compare
Wont the removal of |
Internally, ChibiOS would make it index 14, i.e. you'd need #define STM32_DMA2_CH6_NUMBER 69 ....which really only maps to the interrupt vector. Either way, it's clear as mud... so I'm inclined to rollback that portion of this PR. |
a2bb5a7
to
15d74ad
Compare
aa62b50
to
53b2897
Compare
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.
__attribute__((weak))
✅
53b2897
to
3f0b474
Compare
3f0b474
to
48b4127
Compare
Description
Newer STM32 MCUs have a DMAMUX peripheral, which allows mapping of DMAs to different DMA streams, rather than hard-defining the target streams in silicon.
Affects STM32L4+ devices, as well as the soon-to-be-supported-by-QMK STM32G4/H7 families.
Tested on F303/Proton-C (ChibiOS v19, non-DMAMUX), G474 (ChibiOS v20, with DMAMUX).
Types of Changes
Checklist