Repository navigation
feat(esp32): preserve async output on the slim legacy RMT4 path - #4885
Merged
zackees merged 3 commits intoOct 22, 2026
Merged
Conversation
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configuration
You can disable this status message by setting the Use the checkbox below for a quick retry:
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 |
…#4887) * fix(esp32): use native consoles without Arduino stream dependencies * docs: record native ESP console validation and publication
This was referenced Oct 22, 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
Implements #4883 on top of #4881. Async is enabled by default, following the maintainer's updated requirement.
FL_RMT4_ASYNC=0selects blocking output.FastLED.wait()through registered completion callbacks without pulling ChannelManager into legacy-only sketches.Matched footprint
96 RGB LEDs, Lolin D32, fbuild, espressif32 6.13.0 / Arduino 2.0.17 / IDF 4.4.7, diagnostics disabled:
Async costs 2,700 B flash / 8 B static RAM versus matched blocking. Both legacy bloat reports contain zero executable ChannelManager functions. Channel API also registers other available backends, so its entire delta is not solely ChannelManager. Runtime heap/worker storage are separate costs. Exact encoding saves 10,460 B retained capacity for five 2,000-RGB-LED strips (30,000 instead of 40,460 B).
Matched device harness: blocking free heap 110,208 -> 109,424 B; async
109,584 -> 106,384 B after a completed 2,000-LED frame. Async retains 3,040 B
additional heap, including its 2,048 B stack (624 B exists before submission).
Largest free block remains 65,524 B. Minimum free: blocking 57,540 / async
54,556 B. These are diagnostic harness measurements, separate from the small
reporter above. Blocking takes 66,887 us and returns after all 6,000 bytes;
async takes 7,062 us, returns active and completes all 6,000 bytes autonomously.
Validation
bash test --cpp --debugrerun passes all 294 units and 57 examples selected by the runner. Fullbash lintpasses.Integration
Stacked on
perf/esp32-legacy-slim-rmt4(#4881), itself stacked on #4877. Requiresci-fullbefore a platform-sensitive merge. No merge performed by this PR publication.Fixes #4883