Repository navigation
docs(i2s): add classic-ESP32 I2S driver README (#3512 Phase 8) - #3521
Merged
Merged
Conversation
New `src/platforms/esp/32/drivers/i2s/README.md` documenting the classic-ESP32 I2S parallel-out clockless driver as it stands today (post #3479 restore + #3511/#3514 IDF6 compat + #3518-#3520 selector cleanup + Phase 5 unity re-include). Covers: - **Files**: purpose of each `.h`/`.cpp.hpp` in the directory - **User-facing binding today**: legacy `addLeds<>` via `-DFASTLED_ESP32_I2S=1` (production) vs modern channel-manager (not there yet — depends on Phase 4) - **ESP-IDF version compat table**: IDF 4.x/5.x production; IDF 6.x compiles via the `i2s_periph_compat.h` shim (bench validation pending real WROOM + IDF 6 platform binding) - **Streaming ISR DMA refill invariant**: the whole-point-of-I2S streaming pattern that any future refactor must preserve. Points at the ISR handler location and lists the three concrete guarantees. - **Global state**: acknowledges the 10+ file-scope statics tracked under #3489, with the migration path via Phase 6. - **Known bugs**: #1165 (`I2S_DEVICE=1` doesn't drive output) and #1384 (blocking `showPixels()`) with their respective fix paths through Phase 2 / Phase 4. - **References**: cross-links to every open sub-issue, meta issue, and previous PR in the driver-dev umbrella. Part of #3516 / #3512 Phase 8. Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughThis PR adds a new README file documenting the classic ESP32 I2S1 parallel-out clockless driver for WS2812-family LEDs, covering binding paths, ESP-IDF version compatibility, ISR/DMA invariants, global state status, known bugs, and related references. ChangesDriver Documentation
Estimated code review effort: 1 (Trivial) | ~3 minutes Possibly related issues
Possibly related PRs
✨ Finishing Touches🧪 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 |
5 tasks
This was referenced Jul 1, 2026
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.
Summary
New
src/platforms/esp/32/drivers/i2s/README.mddocumenting the classic-ESP32 I2S parallel-out clockless driver's current state — the state after PR #3479 restore + PR #3511/#3514 IDF6 shim + PR #3518-#3520 selector cleanup + Phase 5 unity re-include.Covers files, user binding, IDF version compat table, streaming ISR DMA refill invariant, global-state migration path, known long-tail bugs, and cross-links to every open sub-issue.
Part of #3516 / #3512 Phase 8.
Test plan
bash test --cpp: 344/344 passbash lint --cpp: cleanSummary by CodeRabbit