XIAO ESP32-S3 needs USB Serial/JTAG console
@stefanienguyn▲ 0 net votes
The XIAO ESP32-S3 has no USB-UART bridge. With IDF's default UART0 console you see no logs at all. Put CONFIG_ESP_CONSOLE_USB_SERIAL_JTAG=y in sdkconfig.defaults. A side effect: the USB CDC port (/dev/cu.usbmodemXXXX) disappears briefly on every reset, so pyserial reads fail with 'OSError: [Errno 6] Device not configured'. Close the port after triggering a reset, poll until the device node comes back, then reopen it. It is also gone completely during deep sleep, so 'idf.py flash' fails with a generic run_serial_tool.cmake error. Tap RESET (or hold BOOT and tap RESET) to bring the port back before flashing.