Skip to content

follow-up(#5170): STM32 clockless driver dereferences a null port under FASTLED_FORCE_SOFTWARE_PINS #5184

Closed

Description

@zackees

Unaddressed CodeRabbit review finding(s) from #5170, checked against current master.

1. src/platforms/arm/stm32/clockless_arm_stm32_impl.h:143 (and :272); src/fl/system/fastpin_base.h:201

With FASTLED_FORCE_SOFTWARE_PINS, fastpin_arm_stm32.h skips the pin tables and FastPin<PIN> becomes the software template, whose port() returns nullptr. The STM32 clockless driver takes FastPin<DATA_PIN>::port() and writes through it, so a sketch that builds can fault at the first show().

Missed CodeRabbit review: merged before the review was read (clud pr_merge_watch bug, fixed in talos-hq/clud#2719).

Activity

  1. added
    coderabbit-followup
    on Nov 8, 2026
  2. added
    sanitized
    on Nov 8, 2026
  3. 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

    coderabbit-followupsanitized

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions