Skip to content

ws2812: add support for 160MHz cortex-m processors#867

Open
deadprogram wants to merge 1 commit intodevfrom
ws2812-slower-arms
Open

ws2812: add support for 160MHz cortex-m processors#867
deadprogram wants to merge 1 commit intodevfrom
ws2812-slower-arms

Conversation

@deadprogram
Copy link
Copy Markdown
Member

This adds hardware timing support for driving WS2812 LEDs on Cortex-M microcontrollers running at 160MHz (such as the STM32U585).

  • Updated go:generate directive to include 160MHz.
  • Generated the corresponding ws2812_writeByte160 assembly routine.
  • Added a switch case in WriteByte to handle generic 160MHz processors.

This adds hardware timing support for driving WS2812 LEDs on Cortex-M microcontrollers running at 160MHz (such as the STM32U585).

- Updated `go:generate` directive to include 160MHz.
- Generated the corresponding `ws2812_writeByte160` assembly routine.
- Added a switch case in `WriteByte` to handle generic 160MHz processors.

Signed-off-by: deadprogram <ron@hybridgroup.com>
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.

1 participant