Skip to content

follow-up(#5155): nRF51 follow-ups: lint suggestion, PIN_CNF race, SPI minimum rate #5188

Closed

Description

@zackees

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

1. ci/lint_cpp_rs/src/lint_core/prelude_constants.rs:772

The lint maps __RFduino__ to FL_IS_NRF51. Following that suggestion also turns RFduino-only code on for micro:bit and Simblee builds.

2. src/platforms/arm/nrf51/fastpin_arm_nrf51.h:40

setInput() does a read-modify-write on NRF_GPIO->PIN_CNF[PIN]. If an interrupt changes the same register (for example, it enables SENSE for a wake) between the read and the write, the stale write undoes that change.

3. src/platforms/arm/nrf51/fastspi_arm_nrf51.h:75

spiFrequency() falls back to SPI_FREQUENCY_FREQUENCY_K125 for any slower request. For example, DATA_RATE_KHZ(100) runs at 125 kHz, which is faster than the caller's limit.

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