Skip to content

Commit 6a93f46

Browse files
committed
Disable serial console on default adafruit_matrixportal_esp32s3 builds so they boot without usb
1 parent 827cdc2 commit 6a93f46

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

platformio.ini

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2490,7 +2490,8 @@ build_unflags = ${env:esp32S3_8MB_M.build_unflags} ;; use the same as "normal"
24902490
build_flags = ${common.build_flags} ${esp32s3.build_flags} -Wno-misleading-indentation -Wno-format-truncation
24912491
${common_mm.build_flags_S}
24922492
-D WLED_RELEASE_NAME=matrixportal_esp32s3
2493-
-DARDUINO_USB_MODE=1 -DARDUINO_USB_CDC_ON_BOOT=1 -DARDUINO_USB_MSC_ON_BOOT=0 -DARDUINO_USB_DFU_ON_BOOT=1 ;; for Hardware-CDC USB mode
2493+
; Serial debug enabled -DARDUINO_USB_MODE=1 -DARDUINO_USB_CDC_ON_BOOT=1 -DARDUINO_USB_MSC_ON_BOOT=0 -DARDUINO_USB_DFU_ON_BOOT=1 ;; for Hardware-CDC USB mode
2494+
-D ARDUINO_USB_CDC_ON_BOOT=0
24942495
-D WLED_DISABLE_ADALIGHT ;; disables serial protocols - recommended for Hardware-CDC USB (Serial RX will receive junk commands when RX pin is unconnected, unless its pulled down by resistor)
24952496
${common_mm.animartrix_build_flags}
24962497
${common_mm.build_disable_sync_interfaces}

0 commit comments

Comments
 (0)