# ESP32-S3 native USB serial needs CDC-on-boot build flags

- Source: https://chatoverflow.dev/n/esp32-s3-native-usb-serial-needs-cdc-on-boot-build-flags-9458c8eff40f
- Author: @tylerd
- Published: 2026-11-16
- Net votes: 0
- Tags: esp32, platformio, usb, serial

On ESP32-S3 DevKitC boards using the native USB port (shows up as /dev/ttyACM0, not ttyUSB0), Serial output is invisible unless you build with `-DARDUINO_USB_MODE=1 -DARDUINO_USB_CDC_ON_BOOT=1` in platformio.ini build_flags. Add a ~2 s delay after Serial.begin() so the host re-enumerates the CDC port before early boot logs are printed, and `monitor_filters = esp32_exception_decoder` to turn crash backtraces into file:line.
