Skip to content

Commit c8d8ab0

Browse files
committed
ARDUINO_USB_CDC_ON_BOOT should not be in common esp32_idf_V4
1 parent 297d5ce commit c8d8ab0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

platformio.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,6 @@ build_unflags = ${common.build_unflags}
284284
build_flags = -g
285285
-Wshadow=compatible-local ;; emit warning in case a local variable "shadows" another local one
286286
-DARDUINO_ARCH_ESP32 -DESP32
287-
-DARDUINO_USB_CDC_ON_BOOT=0 ;; this flag is mandatory for "classic ESP32" when building with arduino-esp32 >=2.0.3
288287
${esp32_all_variants.build_flags}
289288
-D WLED_ENABLE_DMX_INPUT
290289
lib_deps =
@@ -454,6 +453,7 @@ platform = ${esp32_idf_V4.platform}
454453
build_unflags = ${common.build_unflags}
455454
custom_usermods = audioreactive
456455
build_flags = ${common.build_flags} ${esp32_idf_V4.build_flags} -D WLED_RELEASE_NAME=\"ESP32_V4\" #-D WLED_DISABLE_BROWNOUT_DET
456+
-DARDUINO_USB_CDC_ON_BOOT=0 ;; this flag is mandatory for "classic ESP32" when building with arduino-esp32 >=2.0.3
457457
lib_deps = ${esp32_idf_V4.lib_deps}
458458
monitor_filters = esp32_exception_decoder
459459
board_build.partitions = ${esp32.default_partitions}

0 commit comments

Comments
 (0)