Skip to content

follow-up(#5149): nRF52: reject invalid pins in forced-software mode before driving peripherals #5190

Closed

Description

@zackees

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

1. src/platforms/arm/nrf52/fastpin_arm_nrf52_variants.h:57

_FL_DEF_INVALID_PIN defines Nrf52HwPin/FastPin as _INVALID_ARMPIN<0, NRF_P0, 0, 0> even in forced-software mode. The PWM/SPIM drivers call setOutput()/nrf_pin() on it, which resolve to P0.00, so an invalid pin can configure and drive an unrelated pad.

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