From 4b22c4017c0234811451d77a5bc3862d02d8ba64 Mon Sep 17 00:00:00 2001 From: dkuenzel Date: Thu, 22 Oct 2026 12:40:04 +0200 Subject: [PATCH] fix(techo-lite): add ENABLE_USB_INTERFACE to companion_radio_usb build The LilyGo_T-Echo-Lite_companion_radio_usb env was missing -D ENABLE_USB_INTERFACE. Without it, ArduinoSerialInterface is never registered with the interface manager, so the USB companion protocol is silently inactive: the USB CDC port enumerates but the device neither receives nor sends companion frames. All other companion_radio_usb builds across the codebase have this flag; this is the only one that did not. Verified: flashing non_shell_companion_radio_usb (which has the flag) restores USB companion connectivity on a T-Echo Lite v1.18.0. --- variants/lilygo_techo_lite/platformio.ini | 1 + 1 file changed, 1 insertion(+) diff --git a/variants/lilygo_techo_lite/platformio.ini b/variants/lilygo_techo_lite/platformio.ini index 2a92eb9be2d..234084265b5 100644 --- a/variants/lilygo_techo_lite/platformio.ini +++ b/variants/lilygo_techo_lite/platformio.ini @@ -116,6 +116,7 @@ build_flags = -D UI_RECENT_LIST_SIZE=9 -D UI_SENSORS_PAGE=1 -D AUTO_SHUTDOWN_MILLIVOLTS=3300 + -D ENABLE_USB_INTERFACE ; -D QSPIFLASH=1 build_src_filter = ${LilyGo_T-Echo-Lite.build_src_filter} +<../examples/companion_radio/*.cpp>