Skip to content

Fix M5Stack Unit C6L kiss_modem env missing USB CDC flags - #3099

Open
jirogit wants to merge 1 commit into
meshcore-dev:devfrom
jirogit:feat/c6l-kiss-modem
Open

Fix M5Stack Unit C6L kiss_modem env missing USB CDC flags#3099
jirogit wants to merge 1 commit into
meshcore-dev:devfrom
jirogit:feat/c6l-kiss-modem

Conversation

@jirogit

@jirogit jirogit commented Aug 2, 2026

Copy link
Copy Markdown
Contributor

Problem

M5Stack_Unit_C6L_kiss_modem env did not include the USB CDC build flags present in M5Stack_Unit_C6L_companion_radio_usb:

  • ARDUINO_USB_CDC_ON_BOOT=1
  • ARDUINO_USB_MODE=1
  • ENABLE_USB_INTERFACE

On ESP32-C6, native USB serial requires these flags at boot. Without them, output routes to UART0, which has no physical connector on this board, making the KISS modem unresponsive over USB.

Fix

Added the same three flags used in the companion_radio_usb env for this board.

Testing

Hardware-verified on M5Stack Unit C6L. Built with pio run -t upload -e M5Stack_Unit_C6L_kiss_modem, confirmed device enumerates as /dev/ttyACM0, confirmed KISS modem operational via openhop_repeater.

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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant