Skip to content

feat(rp2040): initialize multi-lane SpiHw2/4/8 channel controllers #3699

Closed

Description

@zackees

Parent: tracked by #3648

Context

RP2040 provides concrete PIO+DMA SpiHw2, SpiHw4, and SpiHw8 implementations. They are used by MultiLaneDevice, which owns per-lane buffers and performs bit transposition before DMA. SpiChannelEngineAdapter receives independent ChannelData buffers and cannot safely reinterpret them as a parallel transfer.

The previous RP initialization incorrectly registered the multi-lane controllers with SpiChannelEngineAdapter, where they could be selected and then fail at the old multi-lane initialization TODO.

Resolution acceptance criteria

  • Remove RP2040 SpiHw2/4/8 from SpiChannelEngineAdapter registration.
  • Keep the concrete SpiHw2/4/8 implementations and their registration for MultiLaneDevice.
  • Preserve the dedicated lane aggregation, transposition, PIO, and DMA path.
  • Remove the misleading multi-lane adapter warning from the RP2040 execution path.
  • Run the targeted SPI host tests and an RP2040 compile/validation command.

The generic adapter may gain multi-lane support for platforms whose channel model supplies lane aggregation, but that is separate from RP2040's MultiLaneDevice path.

Activity

  1. moved this from Triage to Done in FastLED Trackeron Jul 16, 2026
  2. added a commit that references this issue on Jul 16, 2026
    0f29b2b
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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