From 7addae9c244c82c0dfb15d72acab7f30be8936a8 Mon Sep 17 00:00:00 2001 From: Frank <91616163+softhack007@users.noreply.github.com> Date: Mon, 10 Nov 2025 16:52:24 +0100 Subject: [PATCH] restore missing build flag for esp32 this flag got lost between 0.15 and 0.16. Even when NO classic esp32 has USB-CDC., it seems that omitting the flag can cause strange behavior in the arduino-esp32 framework. --- platformio.ini | 1 + 1 file changed, 1 insertion(+) diff --git a/platformio.ini b/platformio.ini index c51a38be..45c62843 100644 --- a/platformio.ini +++ b/platformio.ini @@ -294,6 +294,7 @@ build_flags = -g -Wshadow=compatible-local ;; emit warning in case a local variable "shadows" another local one -DARDUINO_ARCH_ESP32 -DESP32 ${esp32_all_variants.build_flags} + -DARDUINO_USB_CDC_ON_BOOT=0 ;; this flag is mandatory for "classic ESP32" when building with arduino-esp32 >=2.0.3 -D WLED_ENABLE_DMX_INPUT lib_deps = ${esp32_all_variants.lib_deps}