Fix M5Stack Unit C6L kiss_modem env missing USB CDC flags - #3099
Open
jirogit wants to merge 1 commit into
Open
Conversation
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 file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
M5Stack_Unit_C6L_kiss_modemenv did not include the USB CDC build flags present inM5Stack_Unit_C6L_companion_radio_usb:ARDUINO_USB_CDC_ON_BOOT=1ARDUINO_USB_MODE=1ENABLE_USB_INTERFACEOn 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.