Disable CDC USB on boot for older framework compatibility
Changed ARDUINO_USB_CDC_ON_BOOT flag to disable CDC USB due to issues with the older framework.
This commit is contained in:
@@ -2502,11 +2502,12 @@ upload_speed = 460800
|
||||
build_unflags = ${env:esp32c3dev_4MB_M.build_unflags}
|
||||
-DWLEDMM_FASTPATH ;; needs more testing on -C3
|
||||
-D WLED_ENABLE_HUB75MATRIX ;; not enough pins
|
||||
-DARDUINO_USB_CDC_ON_BOOT=1 ;; hangs on boot
|
||||
build_flags = ${common.build_flags} ${esp32c3.build_flags}
|
||||
-D WLED_WATCHDOG_TIMEOUT=0 -D CONFIG_ASYNC_TCP_USE_WDT=0
|
||||
${common_mm.build_flags_S} -Wno-misleading-indentation -Wno-format-truncation
|
||||
-D WLED_RELEASE_NAME=seeed_esp32c3_4MB_S
|
||||
-DARDUINO_USB_CDC_ON_BOOT=1 ;; enable CDC USB -> needed for debugging over serial USB
|
||||
-DARDUINO_USB_CDC_ON_BOOT=0 ;; disable CDC USB, as the older framework has problems with it
|
||||
-D WLED_DISABLE_ADALIGHT ;; to disable serial protocols when using CDC USB (Serial RX pin will receive junk commands, unless its pulled down by resistor)
|
||||
-D WLED_DISABLE_INFRARED ;; save flash space
|
||||
;-D WLED_DISABLE_ALEXA ;; save flash space
|
||||
|
||||
Reference in New Issue
Block a user