Skip to content

RP PIO engine: reduce DMA memory (~32 bytes per data byte) #4621

Closed

Description

@zackees

Follow-up to #4589 (PR #4619), part of #4580.

ChannelEngineRpPio uses about 32 bytes of DMA buffer per LED data byte. The removed legacy controller packed 8 bits per byte (about 1 byte per data byte). rp2040 Blink after #4619: RAM went from 45,741 B to 46,734 B, and it grows with LED count.

Task: pack the bits tightly for single-lane and transposed multi-lane output.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions