Open
Description
Operating System
Windows 11
Arduino IDE version
PlatformIO
Board
LilyGo Dongle S3
ArduinoCore version
https://github.com/platformio/platform-espressif32.git
TinyUSB Library version
3.4.0+
Sketch as ATTACHED TXT
#include <Arduino.h>
#include <Adafruit_TinyUSB.h>
void setup() {
if (!TinyUSBDevice.isInitialized()) {
TinyUSBDevice.begin(0);
}
Serial.begin(115200);
}
void loop() {
Serial.println("Loop!");
Serial.flush();
delay(1000);
}
[env:esp-32-s3]
platform = https://github.com/platformio/platform-espressif32.git
board = esp32-s3-devkitc-1
framework = arduino
monitor_filters = esp32_exception_decoder
monitor_speed = 115200
build_unflags =
-DARDUINO_USB_MODE=1
build_flags =
-std=gnu++2a
-DARDUINO_USB_MODE=0
-DARDUINO_USB_CDC_ON_BOOT=1
-Wl,-z,muldefs
-D CFG_TUD_ENABLED
lib_deps = https://github.com/i-am-shodan/Adafruit_TinyUSB_Arduino
Compiled Log as ATTACHED TXT
What happened ?
Starting in 3.4.0 the sketch above no longer results in a USB device appearing/COM port in Windows 11.
- 3.1.5 works
- 3.3.0 works
- 3.3.3 works
- 3.3.4 works
- 3.4.0 does NOT work
- 3.4.1 does NOT work
How to reproduce ?
Compile, flash and plug in
Debug Log
No response
Screenshots
No response