mirror of
https://github.com/ALLFATHER-BV/wadamesh.git
synced 2026-09-25 19:54:58 +00:00
The per-board OTA_BIN_NAME chain ended in a bare #else naming the Heltec V4 TFT, so any board nobody had added to it silently downloaded the V4 image. Update.end() only checks that an image is valid for an ESP32-S3, which the V4 build is, so nothing stopped it being flashed. The Seeed Wio Tracker L2 shipped exactly like that. Its build defines only HAS_WIO_TRACKER_L2, which the chain never tested, and the released beta_79 image carries "wadamesh-heltec-v4-tft" as its update name: an on-device update on a Wio L2 installs Heltec V4 firmware onto Wio hardware and needs a USB reflash to recover. The T-Deck Pro (HAS_TDECK_PRO) was in the same position and would have done the same the moment it was published. Every board is now listed explicitly, the V4 TFT included (the V4-R8 also defines HELTEC_LORA_V4_TFT, and its branch already comes first), and anything unlisted is an #error. Forgetting this table is now a build break instead of a field brick. Verified on all twelve OTA-capable targets: each compiles, and each binary asks for exactly the artifact release.sh publishes for it (checked mechanically: 10 PlatformIO envs plus both T-Display P4 SKUs, no mismatches). Units already on beta_77 to beta_79 still have the wrong name compiled in, so Wio L2 owners must update from the website over USB rather than on the device until they are on a build with this fix. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>