Add STM32 PWM + DMA ws2812 driver#55
Open
petejohanson wants to merge 2 commits intozmkfirmware:v4.1.0+zmk-fixesfrom
Open
Add STM32 PWM + DMA ws2812 driver#55petejohanson wants to merge 2 commits intozmkfirmware:v4.1.0+zmk-fixesfrom
petejohanson wants to merge 2 commits intozmkfirmware:v4.1.0+zmk-fixesfrom
Conversation
Extend the PWM API with optional API functions for enabling DMA requests Possible solution for zephyrproject-rtos#88670 Signed-off-by: Vincent Surkijn <vincent.surkijn@siemens.com>
Implement an LED strip driver for WS2812 and and compatible LEDs using DMA to load compare values for the 0/1 bits for that protocol. Signed-off-by: Peter Johanson <peter@peterjohanson.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This cherry picks the upstream work from zephyrproject-rtos#88671 and adds an STM32 PWM + DMA led_strip driver for the ws2812 family of LEDs.
This has been tested on wb55rg, f411ce, and g0b1 without any issues. Will work to get this upstreamed, another contributor may actually lead the work to integrate into Zephyr, so we'll track that for adjustment as needed when we move to a newer Zephyr version eventually.