mirror of
https://github.com/meshcore-dev/MeshCore.git
synced 2026-04-25 11:02:15 +00:00
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
67 lines
1.3 KiB
JSON
67 lines
1.3 KiB
JSON
{
|
|
"build": {
|
|
"arduino": {
|
|
"ldscript": "nrf52840_s140_v6.ld"
|
|
},
|
|
"core": "nRF5",
|
|
"cpu": "cortex-m4",
|
|
"extra_flags": "-DARDUINO_NRF52840_PCA10056 -DNRF52840_XXAA",
|
|
"f_cpu": "64000000L",
|
|
"hwids": [
|
|
[
|
|
"0x239A",
|
|
"0x8029"
|
|
]
|
|
],
|
|
"usb_product": "NRF52 DK",
|
|
"mcu": "nrf52840",
|
|
"variant": "pca10056",
|
|
"bsp": {
|
|
"name": "adafruit"
|
|
},
|
|
"softdevice": {
|
|
"sd_flags": "-DS140",
|
|
"sd_name": "s140",
|
|
"sd_version": "6.1.1",
|
|
"sd_fwid": "0x00B6"
|
|
},
|
|
"bootloader": {
|
|
"settings_addr": "0xFF000"
|
|
}
|
|
},
|
|
"connectivity": [
|
|
"bluetooth"
|
|
],
|
|
"debug": {
|
|
"jlink_device": "nRF52840_xxAA",
|
|
"onboard_tools": [
|
|
"jlink"
|
|
],
|
|
"svd_path": "nrf52840.svd",
|
|
"openocd_target": "nrf52.cfg"
|
|
},
|
|
"frameworks": [
|
|
"arduino"
|
|
],
|
|
"name": "LilyGo T-ECHO",
|
|
"upload": {
|
|
"maximum_ram_size": 235520,
|
|
"maximum_size": 815104,
|
|
"require_upload_port": true,
|
|
"speed": 115200,
|
|
"protocol": "jlink",
|
|
"protocols": [
|
|
"jlink",
|
|
"nrfjprog",
|
|
"nrfutil",
|
|
"stlink",
|
|
"cmsis-dap",
|
|
"blackmagic"
|
|
],
|
|
"use_1200bps_touch": true,
|
|
"wait_for_upload_port": true
|
|
},
|
|
"url": "https://os.mbed.com/platforms/Nordic-nRF52840-DK/",
|
|
"vendor": "Nordic"
|
|
}
|