Files
trail-mate/scripts/webflash_targets.py
T
vicliu e5c11d6473 Feature/localization from main (#23)
* feat(ui): add runtime English and Chinese localization

* fix(meshtastic): harden t-deck send and ack recovery

Align the T-Deck SX1262 setup with the reference firmware, switch critical radio SPI paths to blocking access, and share RX restart state between direct send paths and the radio task so TX-to-RX handoff cannot silently get stuck.

Also unify Meshtastic wire transmission through a single helper, keep wire packets for ACK-tracked sends, retry ACK timeouts up to three times, and document the issue #21 repair checklist.

Validation: local builds passed for tdeck, tlora_pager_sx1262, lilygo_twatch_s3, and gat562_mesh_evb_pro; clang-format check passed.

Testing status: not fully tested on hardware yet.

* Refactor LXMF runtime toward full Reticulum alignment

Split adapter runtime state into transport, link, and propagation domains.

Add pending path request tracking, stronger link teardown semantics, outbound link establishment, deferred link payload flushing, link keepalive/stale handling, and inbound split-resource assembly.

Document the authoritative Reticulum/LXMF runtime alignment plan and mark the older device-mode plan as historical context.

* feat(web): add pages site and web flasher release flow
2026-04-19 21:08:59 +08:00

43 lines
1.3 KiB
Python

from __future__ import annotations
from typing import Final
WEBFLASH_TARGETS: Final = (
{
"id": "tlora-pager-sx1262",
"env": "tlora_pager_sx1262",
"name": "LilyGo T-LoRa Pager",
"subtitle": "SX1262 build for the 480x222 keyboard pager",
"chip_family": "ESP32-S3",
"flash_mode": "dio",
"flash_freq": "80m",
"flash_size": "16MB",
"merged_asset_name": "trail-mate-tlora-pager-sx1262-webflash.bin",
},
{
"id": "tdeck",
"env": "tdeck",
"name": "LilyGo T-Deck",
"subtitle": "ESP32-S3 handheld build with keyboard and touch",
"chip_family": "ESP32-S3",
"flash_mode": "dio",
"flash_freq": "80m",
"flash_size": "16MB",
"merged_asset_name": "trail-mate-tdeck-webflash.bin",
},
{
"id": "lilygo-twatch-s3",
"env": "lilygo_twatch_s3",
"name": "LilyGo T-Watch-S3",
"subtitle": "Touch-first ESP32-S3 watch build",
"chip_family": "ESP32-S3",
"flash_mode": "dio",
"flash_freq": "80m",
"flash_size": "16MB",
"merged_asset_name": "trail-mate-lilygo-twatch-s3-webflash.bin",
},
)
TARGETS_BY_ENV: Final = {target["env"]: target for target in WEBFLASH_TARGETS}
TARGETS_BY_ID: Final = {target["id"]: target for target in WEBFLASH_TARGETS}