feat(techo-lite): add Non-Shell companion BLE variant - #2353
Merged
liamcottle merged 1 commit intoApr 22, 2026
Conversation
T-Echo Lite Non-Shell has no ePaper display, but the existing companion BLE env inherits DISPLAY_CLASS=GxEPDDisplay from the base env. This causes display.begin() to run on non-existent hardware, corrupting BLE initialization and generating a random PIN that cannot be displayed, making BLE connection impossible. Add LilyGo_T-Echo-Lite_non_shell_companion_radio_ble env that: - excludes DISPLAY_CLASS and ePaper-related build flags - removes GxEPDDisplay.cpp and ui-new from build sources - uses static BLE_PIN_CODE=123456 (avoids random PIN generation) Also fix boards/t-echo.json: - add nrfutil to upload protocols list - add use_1200bps_touch=true and wait_for_upload_port=true to enable reliable flashing via PlatformIO upload button
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.
Note on T-Echo Lite variants
LilyGO sells three distinct T-Echo Lite variants:
This PR adds a firmware env for the Non-Shell variant.
The Core variant may require a separate env due to different hardware
(no USB interface).
Problem
T-Echo Lite Non-Shell (screenless) users cannot connect via BLE.
The existing companion BLE env inherits
DISPLAY_CLASS=GxEPDDisplayfrom the base env. This causes
display.begin()to run onnon-existent hardware, corrupting BLE initialization.
The result: a random PIN is generated with no way to display it,
making BLE connection impossible.
Note: Issue #1183 and PR #2287 involve related hardware (screenless
T-Echo Lite variants), but address different bugs (battery voltage).
This PR focuses solely on the BLE initialization issue.
Fix
Add
LilyGo_T-Echo-Lite_non_shell_companion_radio_bleenv:DISPLAY_CLASSand ePaper-related build flagsGxEPDDisplay.cppandui-newfrom build sourcesBLE_PIN_CODE=123456Also fix
boards/t-echo.json:nrfutilto upload protocols listuse_1200bps_touch=trueandwait_for_upload_port=trueTesting
Tested on T-Echo Lite Non-Shell hardware:
DFU mode (UF2 flashing) for T-Echo Lite Non-Shell
Note: BLUE LED flash may not occur on all units, but the drive
still appears and UF2 flashing works correctly.
Related to #1183, #2287