Repository navigation
Conversation
…esp32-row-20261116
…SB CDC Stock Arduino on the Nano ESP32 uses TinyUSB CDC on the ESP32-S3 USB-OTG controller as `Serial` (ARDUINO_USB_MODE unset). The USB-OTG model now has a scripted host: it enumerates the device, sends SET_CONFIGURATION, opens the first CDC-ACM port (DTR) and routes bulk IN data into the console capture via the new generic Peripheral::attach_usb_cdc_console hook. The CLI fast-boot path now primes faithful register windows on both cores instead of the shadow-window mode and the xthal_window_spill_nw thunk. A core-1 interrupt-exit task switch (TinyUSB event) otherwise ran esp_event_loop_run on the idle task's window chain. Matrix: 9 pass / 0 skip / 0 fail (L2 3 edges on GPIO48, L6 59 LEDC edges on GPIO5). Evidence: examples/arduino-nano-esp32/evidence/arduino-matrix/. Vendor status rechecked live 2026-11-16 (DigiKey ABX00092 Active). PSRAM is not modelled. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: w1ne <41898282+w1ne@users.noreply.github.com>
This branch has not been deployed
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
The stock Arduino matrix row on the Arduino Nano ESP32 (ESP32-S3, SKU ABX00092) passes 9 / 9 cells.
Demand rank: ESP32 is 38% of measured usage and Arduino kits are 37% (JetBrains State of Embedded). This is a demand pick.
Evidence
examples/arduino-nano-esp32/evidence/arduino-matrix/: per-celluart.log,result.json,junit.xmlandscoreboard.md.LED_BUILTIN= D13). L6 sees 59 LEDC edges on GPIO5 (D2).cargo test -p labwired-core --lib usb_otg: 13 passed (rerun after the merge ofmain).examples/arduino-nano-esp32/vendor-status.md.Changes
Serialis TinyUSB CDC on USB-OTG (ARDUINO_USB_MODEunset). ThatSerialdrops writes until a host opens the port. The model now has a scripted host. The host enumerates the device, sends SET_CONFIGURATION, opens the first CDC-ACM port (DTR) and reads bulk IN data. New unit tests are inusb_otg_tests.rs.Peripheral::attach_usb_cdc_consolemethod sends that CDC data to the console capture. When a named UART is the console, the hook is detached.xthal_window_spill_nwthunk are removed from this path. Before, a task switch on core 1 (from a TinyUSB event) ranesp_event_loop_runon the idle task's window chain, and it asserted inxQueueSemaphoreTake.arduino_nano_esp32. The sketch edits are keyed onARDUINO_NANO_ESP32(Wire defaults, A0constexpr) and on the ESP32-S2/S3 TinyUSB CDC wait for DTR.Still not modelled
configs/is not changed. The matrix row uses its own system file.Each cell costs about 213M steps, because the stock variant runs
boot_double_tap_logic()(an RGB fade of about 1 s) beforesetup().🤖 Generated with Claude Code