Repository navigation
fix(esp32): remove Arduino console retention with native SDK backends - #4887
Merged
zackees merged 2 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 |
This was referenced Oct 22, 2026
Closed
zackees
added a commit
that referenced
this pull request
Oct 22, 2026
* fix: preserve strings on failed growth and reuse RPC response storage * feat(esp32): enable autonomous slim RMT4 output by default * fix(esp32): remove Arduino console retention with native SDK backends (#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
Stacked on #4885. Make every ESP32 console use native SDK transports; remove the Arduino-header availability dispatch that retained HardwareSerial, Stream and String in legacy addLeds builds.
fastled_esp_console_write. Absent providers do not extract Arduino objects; applications already using Serial can explicitly route complete writes through it without FastLED including Arduino headers.bash lint, including inactive branches and availability probes. No GitHub Actions workflow added.Matched Lolin D32 size
Same 96-pixel reporter, source SHA
5b4dae7b45d6a5c2f2e18e9c88d1b6b30d89770bc1dc2b512d32c7e01df9c0ed; espressif32 6.13.0, Arduino 2.0.17 / IDF 4.4.7.Native reporter has zero executable HardwareSerial, Arduino String, Stream::readString or ChannelManager functions. The entire regression versus 3.10.3 is not removed: +36,424 flash / +1,260 static RAM remain.
Verification
bash lintpasses, including the existing Rust checker integration and focused checker tests.EspArduinoHeaderCheckerflags both the Arduino.h probe and Arduino serial bridge. Copy removed; current production dispatcher lint passes.esp32dev_idf44, Arduino 2.0.3 / IDF 4.4.1) passes native RPC and three RMT loopback cases. Final canonical-image restoration passes RMT 4/4 checks and heap integrity.Limits and migration
UART atomicity applies to complete submitted buffers. Separate Arduino Print calls and ROM writers bypassing the shared SDK mutex can still interleave.
USB validation here is SDK compilation and link-map inspection, not physical USB enumeration/reconnect evidence. Native CDC is CDC-only; composite classes and Arduino's software upload/reset handshake are not provided. BOOT/ROM recovery remains available. Existing USB startup flags must be disabled in the core build, not just in a sketch header; profiles now demonstrate the required settings. Optional writer hooks redirect output only; initialization/input remain native.
Platform-sensitive merge requires full CI and the relevant physical USB validation. Do not merge merely because UART HIL passes.