Add USB CDC flags to M5Stack Unit C6L kiss_modem env

M5Stack_Unit_C6L_kiss_modem env was missing ARDUINO_USB_CDC_ON_BOOT,
ARDUINO_USB_MODE, and ENABLE_USB_INTERFACE build flags, present in
the companion_radio_usb env for the same board. Without these,
ESP32-C6 native USB serial output goes to UART0 (unconnected on this
board), making the KISS modem unresponsive over USB.

Hardware-verified: M5Stack Unit C6L, KISS modem confirmed operational
via /dev/ttyACM0 with openhop_repeater.
This commit is contained in:
me committed 2026-08-01 23:48:20 -07:00
1 parent 626a82fd30
commit bb6870467b
1 file changed
+4
+4
View File
@@ -109,5 +109,9 @@ lib_deps =
[env:M5Stack_Unit_C6L_kiss_modem]
extends = M5Stack_Unit_C6L
build_flags = ${M5Stack_Unit_C6L.build_flags}
-D ARDUINO_USB_CDC_ON_BOOT=1
-D ARDUINO_USB_MODE=1
-D ENABLE_USB_INTERFACE
build_src_filter = ${M5Stack_Unit_C6L.build_src_filter}
+<../examples/kiss_modem/>