mirror of
https://github.com/meshcore-dev/MeshCore.git
synced 2026-11-21 22:47:05 +00:00
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:
1 parent
626a82fd30
commit
bb6870467b
1 file changed
+4
@@ -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/>
|
||||
Reference in new issue
Block a user