-
Notifications
You must be signed in to change notification settings - Fork 959
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
T-Beam S3 core - enable USB CDC #3597
T-Beam S3 core - enable USB CDC #3597
Conversation
This change is causing my T-Beam Supreme to not boot until the serial terminal is accessed, when connected to a USB host. |
I believe, this is what is blocking. |
Apologies, I can reproduce this issue now. Will try to find a fix. |
Little bit offtopic, but about same problem with esp32C3. |
We ran into this problem very recently. Good comment here helps explain: espressif/arduino-esp32#7554 (comment) We ended up setting cdc_on_boot to 1 and usb_mode to 0. I saw quite a few other esp32 S3 boards sharing this config. Side benefit is that our usb vid:pid get passed to the host, so our board gets identified instead of just a generic JTAG debugger etc. |
The current flag 'ARDUINO_USB_MODE=0' disables USB CDC, and enables USB OTG (which isn't used as far as I can see).
Changing to 'ARDUINO_USB_MODE=1' allows firmware updates via USB (eg the web flasher) without having to change into download mode first by pressing the BOOT button during power on/reset.
see https://thingpulse.com/usb-settings-for-logging-with-the-esp32-s3-in-platformio/
This is in line with other ESP32-S3 board definitions, eg https://github.com/Xinyuan-LilyGO/LilyGo-LoRa-Series/blob/master/boards/t-beams3-supreme.json