Repository navigation
refactor(rp): legacy clockless onto SlimBridgeController over ChannelEngineRpPio (#4589) - #4619
Merged
Merged
Conversation
…EngineRpPio (#4589) The RP2040/RP2350 legacy addLeds<> ClocklessController is now a fl::SlimBridgeController over BusTraits<Bus::FLEX_IO, 0> (ChannelEngineRpPio), removing the duplicate direct PIO/DMA controller. The unused ParallelClocklessController header is deleted. With FASTLED_RP2040_CLOCKLESS_PIO 0 the blocking M0 controller is kept. Maintainer-accepted: not flash-neutral (rp2040 Blink +33 KB); hardware validation deferred. Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
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 configurationConfiguration used: Repository: FastLED/FastLED/.coderabbit.yaml Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (8)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
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. Comment |
This was referenced Sep 25, 2026
zackees
added a commit
that referenced
this pull request
Sep 25, 2026
…4619 follow-up) (#4626) Follow-up to #4619 (issue #4589) review findings: - RpPioTxPeripheral::deinitialize() now parks every lane as a SIO output driven LOW instead of an input, so the line no longer floats between frames after ChannelEngineRpPio tears the peripheral down. - ClocklessRpPio::init() drives DATA_PIN LOW as an output before the first frame (the old controller called setOutput()). - PARALLEL.md, clockless_rp_pio_auto.h and the Parallel_IO example no longer reference the deleted ParallelClocklessController. Co-authored-by: Claude Opus 5.5 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #4589. Part of #4601 / #4580. Follows the Teensy 4.x precedent (#4617).
Change
rpcommon/clockless_rp_pio.h:ClocklessController<...>(RP2040/RP2350) is now an alias forClocklessRpPio, afl::SlimBridgeController<DATA_PIN, TIMING, RGB_ORDER, WAIT_TIME, BusTraits<Bus::FLEX_IO, 0>>over the existingChannelEngineRpPio. The direct PIO/DMA controller (its own SM/DMA claim, DMA ISR, bit packer) is removed.FASTLED_RP2040_CLOCKLESS_PIO 0still selects the blocking Cortex-M0 bit-bang controller.rpcommon/clockless_rp_pio_parallel.h(ParallelClocklessController): unreferenced by any source, example or test. The opt-inFASTLED_RP2040_CLOCKLESS_PIO_AUTOpath is untouched.Bloat (
bash bloat rp2040 --example Blink --build, same base SHA)Verification
bash lint: passbash test slim_bridge_controller: pass.bash test --cpp: 313/313 unit, 95/95 examplesbash compile rp2040 --examples Blink(via bloat),rp2040 --examples BlinkParallel,rp2350 --examples Blink: passKnown trade-offs (maintainer-accepted)
Hardware validation deferred.
🤖 Generated with Claude Code