A @zephyr driver that's been a long time coming... https://github.com/zephyrproject-rtos/zephyr/pull/106336
RGB support on stm32 has been a frequent request from that small subset of folks running #ZMK on wired boards. Rarely had the SPI based driver worked with the pins used by most designs, so when I saw https://github.com/zephyrproject-rtos/zephyr/pull/88671 get merged, I immediately jumped into an led_strip driver using it!
It's fairly straightforward, using DMA to feed in a sequence of compare values that correspond to the necessary bit value to send.

drivers: led_strip: Add WS2812 driver based on STM32 PWM + DMA by petejohanson · Pull Request #106336 · zephyrproject-rtos/zephyr
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. This is a continuation of the discussion from #88671 (comment) ...




