Skip to content

fix(rp2350): GPIO32-47 FastPin compiles but writes nothing #5100

Closed

Description

@zackees

_FL_DEFPIN in fastpin_arm_rp2350.h computes (u32)(1ULL << PIN), which is 0 for GPIO32-47, and _RP2350PIN only addresses the low-bank gpio_out, gpio_set, gpio_clr and gpio_oe_* registers. validpin() is true and MAX_PIN is 47, so SoftwareSPIOutput<33,34> on an RP2350B board compiles and produces no output or error.

Fix: address the gpio_hi_* registers for PIN >= 32, or reject those pins at compile time. Verifying this needs a real RP2350B board; a Pico 2 does not expose them. Found while doing #5038, which keeps these pins out of its optimization. Part of #5024.

Activity

  1. added
    sanitized
    on Nov 6, 2026
  2. moved this from Triage to Done in FastLED Trackeron Nov 8, 2026
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

    sanitized

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions