Skip to content

fix(rp2040): route legacy public SPI output to hardware SPI #3698

Closed

Description

@zackees

Parent: tracked by #3648

Context

RP2040 currently defines FASTLED_FORCE_SOFTWARE_SPI in src/platforms/arm/rp/rpcommon/led_sysdefs_rp_common.h. The generic legacy SPI output dispatch does not route RP2040 to the implemented hardware SPI/channel path, so public chipset APIs such as APA102/SK9822 may still bit-bang SPI.

Acceptance criteria

  • Identify the supported public route for RP2040 hardware SPI.
  • Route legacy/public SPI LED output to RP2040 hardware SPI where the API contract permits, or document and enforce an explicit supported replacement without silently claiming hardware acceleration.
  • Preserve unsupported-chipset and software fallback behavior.
  • Add focused host tests for dispatch and fallback selection.
  • Compile representative APA102/SK9822 public API examples for RP2040.
  • Validate the selected path through the repository's sanctioned RP2040 build/test workflow.

Out of scope: multi-lane PIO SPI adapter initialization, tracked separately.

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
    c884e6b
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