Skip to content

Clockless drivers dereference a null port under forced software pins with no pin map #5136

Closed

Description

@zackees

With FASTLED_FORCE_SOFTWARE_PINS and FASTLED_NO_PINMAP, FastPin::port() has no register to return. Clockless writers still use it: clockless_arm_d51.h (*port = lo, reached on ClearCore through fastled_arm_same53.h), clockless_arm_renesas.h and clockless_arm_giga.h (*port | mask). This predates the #5056 fix, which covers software SPI only. Found by code review; not run. Portable digital writes cannot meet clockless timing, so a compile-time rejection is probably the right answer.

Activity

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