Output path without DMA does not compile #4

Open
opened 2026-10-30 16:40:40 +01:00 by simon · 0 comments
Owner

With WS2812_OUTPUT_USE_DMA set to 0, shift_out_put() does not compile:

  • WS2812_NUM_CHANNELS does not exist (the name is WS2812_DRV_NUM_CHANNELS).
  • sm_prep_data does not exist as a static variable. shift_out_init() does not keep prep_data_sm.

The path also writes the mask to p_out with sm_prep_mask and reads it from p_out. The mask state machine is in p_prep.

Fix the path or remove it.

With `WS2812_OUTPUT_USE_DMA` set to 0, `shift_out_put()` does not compile: - `WS2812_NUM_CHANNELS` does not exist (the name is `WS2812_DRV_NUM_CHANNELS`). - `sm_prep_data` does not exist as a static variable. `shift_out_init()` does not keep `prep_data_sm`. The path also writes the mask to `p_out` with `sm_prep_mask` and reads it from `p_out`. The mask state machine is in `p_prep`. Fix the path or remove it.
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
simon/rp2040_ws2812_driver#4
No description provided.