Skip to content

fix(rp): hand every lane pin to the PIO in multi-lane batches - #4628

Merged
zackees merged 1 commit into
masterfrom
fix/rp-pio-multilane-gpio-init
Sep 25, 2026
Merged

zackees merged 1 commit into
masterfrom
fix/rp-pio-multilane-gpio-init

Conversation

@zackees

@zackees zackees commented Sep 25, 2026

Copy link
Copy Markdown
Member

Follow-up to #4626 (review finding). Part of #4580 / #4589.

RpPioTxPeripheral::createProgram() called pio_gpio_init() for mPin only, although the state machine drives mLaneCount consecutive pins. Since #4626 parks every lane as a plain SIO output driven LOW between frames, lanes 1..N-1 of a multi-lane batch were never connected to the PIO, so those strips stayed dark. An example is Parallel_IO: four strips on pins 2–5 with the same timing and length. This PR calls pio_gpio_init() for every lane.

Validation:

🤖 Generated with Claude Code

createProgram() called pio_gpio_init() only for mPin. Since #4626 parks
every lane as a plain SIO output LOW between frames, lanes 1..N-1 of a
batch stayed LOW instead of carrying data. Follow-up to #4626 / #4589.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@zackees
zackees merged commit e72d031 into master Sep 25, 2026
@zackees
zackees deleted the fix/rp-pio-multilane-gpio-init branch September 25, 2026 05:16
@fastled-project-sync fastled-project-sync Bot moved this to Triage in FastLED Tracker Sep 25, 2026
@coderabbitai

coderabbitai Bot commented Sep 25, 2026

Copy link
Copy Markdown

Review in Change Stack →

Navigate logical layers of code changes, visualize relationships, and explore their blast radius.

Note

Currently processing new changes in this PR. This may take a few minutes, please wait...

⚙️ Run configuration

Configuration used: Repository: FastLED/FastLED/.coderabbit.yaml

Review profile: CHILL

Plan: Advanced

Run ID: 416bdd58-90be-4c2c-8526-157d4dbf03b3

📥 Commits

Reviewing files that changed from the base of the PR and between 32372a6 and 881c962.

📒 Files selected for processing (1)
  • src/platforms/arm/rp/rpcommon/rp_pio_tx_peripheral.cpp.hpp
 _______________________________________
< Clippy called, he wants his job back. >
 ---------------------------------------
  \
   \   \
        \ /\
        ( )
      .( o ).
✨ Finishing Touches
📝 Generate docstrings
  • Commit to this branch
  • Create a new PR
🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant