From f580e6a98fd051deb3c097ac3ad09638c43403b8 Mon Sep 17 00:00:00 2001 From: James Rich <2199651+jamesarich@users.noreply.github.com> Date: Mon, 24 Aug 2026 05:27:54 -0500 Subject: [PATCH] fix: map SoftDevice variants for the new nrf52840 boards The #6822 hardware-catalog refresh in Meshtastic-Android added nrf52840 boards that had no SoftDevice mapping here, so the OTA gate would refuse to flash them. Android PR #6843 fixed the app's bundled seed (device_bootloader_ota_quirks.json), but that seed is refreshed on a schedule from this repo's data: without the same rows here, the next scheduled refresh reverts the app fix. Derived from meshtastic/firmware ldscripts: heltec_mesh_tower_v2 links nrf52840_s140_v6.ld (SoftDevice 6.1.1); seeed_wio_tracker_L1_Pro_1W links nrf52840_s140_v7.ld (7.3.0); rak_wismesh_pocket, rak_wismesh_repeater_mini, and rak_wismesh_repeater_mini_hp all build on wiscore_rak4631 with v6 (6.1.1). Co-Authored-By: Claude Fable 5 --- data/bootloaderOtaQuirks.json | 23 +++++++++++++++++++++-- 1 file changed, 21 insertions(+), 2 deletions(-) diff --git a/data/bootloaderOtaQuirks.json b/data/bootloaderOtaQuirks.json index 8afb04b..be01548 100644 --- a/data/bootloaderOtaQuirks.json +++ b/data/bootloaderOtaQuirks.json @@ -32,7 +32,9 @@ "hwModel": 9, "hwModelSlug": "RAK4631", "platformioTargets": [ - "rak4631" + "rak4631", + "rak_wismesh_pocket", + "rak_wismesh_repeater_mini" ], "softDevice": "6.1.1" }, @@ -217,7 +219,8 @@ "hwModel": 117, "hwModelSlug": "RAK3401", "platformioTargets": [ - "rak3401-1watt" + "rak3401-1watt", + "rak_wismesh_repeater_mini_hp" ], "softDevice": "6.1.1" }, @@ -275,6 +278,22 @@ "t-echo-card" ], "softDevice": "6.1.1" + }, + { + "hwModel": 139, + "hwModelSlug": "HELTEC_MESH_TOWER_V2", + "platformioTargets": [ + "heltec-mesh-tower-v2" + ], + "softDevice": "6.1.1" + }, + { + "hwModel": 144, + "hwModelSlug": "SEEED_WIO_TRACKER_L1_PRO_1W", + "platformioTargets": [ + "seeed_wio_tracker_L1_Pro_1W" + ], + "softDevice": "7.3.0" } ] }