From f6f116a39d4da7ad1586ab3595f93b5c1648dec1 Mon Sep 17 00:00:00 2001 From: Ben Meadors Date: Sat, 22 Aug 2026 14:34:49 +0000 Subject: [PATCH] Fill in device registry metadata for recently added hardware (#11567) Audit of the custom_meshtastic_* manifest on the variants backing the newest boards, against the protobuf HardwareModel enum, the compiled HW_VENDOR, the board flash size and the artwork actually published by the web flasher. No support flag changes here - actively_supported is left exactly as each variant already had it. ThinkNode M9 had no HW_VENDOR arm, so every M9 has been reporting PRIVATE_HW while its manifest advertised 131; add the mapping and rename the slug to the enum name (THINKNODE_M9) it is meant to mirror. Seeed SenseCAP Mesh-Tracker X1 moves from the PR matrix to release, and its images entry now points at seeed_mesh_tracker_x1.svg, which is what the flasher actually ships - the hyphenated name resolved to nothing. T-Beam BPF, T-Beam 1W and Heltec Wireless Tracker V2 declared the architecture as "esp32s3"; the value is copied verbatim into the manifest, and the flash flow matches on the normalized "esp32-s3". T-Beam BPF and M5Stack Unit C6L both build default_16MB.csv on 16 MB flash but declared no partition scheme, which leaves the flasher on the 4 MB fallback offsets for a legacy clean install. Meshnology W10 and W12 gain the artwork and vendor tag that already exist for them. --- src/platform/esp32/architecture.h | 2 ++ variants/esp32c6/m5stack_unitc6l/platformio.ini | 1 + variants/esp32s3/ELECROW-ThinkNode-M9/platformio.ini | 2 +- variants/esp32s3/heltec_wireless_tracker_v2/platformio.ini | 2 +- variants/esp32s3/meshnology-w10/platformio.ini | 2 ++ variants/esp32s3/meshnology-w12/platformio.ini | 2 ++ variants/esp32s3/t-beam-1w/platformio.ini | 2 +- variants/esp32s3/t-beam-bpf/platformio.ini | 3 ++- variants/nrf52840/seeed_mesh_tracker_X1/platformio.ini | 4 ++-- 9 files changed, 14 insertions(+), 6 deletions(-) diff --git a/src/platform/esp32/architecture.h b/src/platform/esp32/architecture.h index 3f6a05d91..c91ead476 100644 --- a/src/platform/esp32/architecture.h +++ b/src/platform/esp32/architecture.h @@ -214,6 +214,8 @@ #define HW_VENDOR meshtastic_HardwareModel_M5STACK_CARDPUTER_ADV #elif defined(MESHNOLOGY_W10) #define HW_VENDOR meshtastic_HardwareModel_MESHNOLOGY_W10 +#elif defined(ELECROW_ThinkNode_M9) +#define HW_VENDOR meshtastic_HardwareModel_THINKNODE_M9 #else #define HW_VENDOR meshtastic_HardwareModel_PRIVATE_HW #endif diff --git a/variants/esp32c6/m5stack_unitc6l/platformio.ini b/variants/esp32c6/m5stack_unitc6l/platformio.ini index e99c806e8..7b479eadb 100644 --- a/variants/esp32c6/m5stack_unitc6l/platformio.ini +++ b/variants/esp32c6/m5stack_unitc6l/platformio.ini @@ -7,6 +7,7 @@ custom_meshtastic_support_level = 1 custom_meshtastic_display_name = M5Stack Unit C6L custom_meshtastic_images = m5_c6l.svg custom_meshtastic_tags = M5Stack +custom_meshtastic_partition_scheme = 16MB extends = esp32c6_base board_level = release diff --git a/variants/esp32s3/ELECROW-ThinkNode-M9/platformio.ini b/variants/esp32s3/ELECROW-ThinkNode-M9/platformio.ini index 7aea2c5fb..7b43b40b5 100644 --- a/variants/esp32s3/ELECROW-ThinkNode-M9/platformio.ini +++ b/variants/esp32s3/ELECROW-ThinkNode-M9/platformio.ini @@ -1,6 +1,6 @@ [thinknode_m9_base] custom_meshtastic_hw_model = 131 -custom_meshtastic_hw_model_slug = ELECROW_ThinkNode_M9 +custom_meshtastic_hw_model_slug = THINKNODE_M9 custom_meshtastic_architecture = esp32-s3 custom_meshtastic_actively_supported = true custom_meshtastic_support_level = 1 diff --git a/variants/esp32s3/heltec_wireless_tracker_v2/platformio.ini b/variants/esp32s3/heltec_wireless_tracker_v2/platformio.ini index 454764360..b86d60670 100644 --- a/variants/esp32s3/heltec_wireless_tracker_v2/platformio.ini +++ b/variants/esp32s3/heltec_wireless_tracker_v2/platformio.ini @@ -10,7 +10,7 @@ board_build.partitions = default_8MB.csv upload_protocol = esptool custom_meshtastic_hw_model = 113 custom_meshtastic_hw_model_slug = HELTEC_WIRELESS_TRACKER_V2 -custom_meshtastic_architecture = esp32s3 +custom_meshtastic_architecture = esp32-s3 custom_meshtastic_display_name = Heltec Wireless Tracker V2 custom_meshtastic_actively_supported = true diff --git a/variants/esp32s3/meshnology-w10/platformio.ini b/variants/esp32s3/meshnology-w10/platformio.ini index bf6692162..73168ac56 100644 --- a/variants/esp32s3/meshnology-w10/platformio.ini +++ b/variants/esp32s3/meshnology-w10/platformio.ini @@ -5,6 +5,8 @@ custom_meshtastic_architecture = esp32-s3 custom_meshtastic_actively_supported = true custom_meshtastic_support_level = 1 custom_meshtastic_display_name = Meshnology W10 +custom_meshtastic_images = meshnology_w10.svg +custom_meshtastic_tags = Meshnology custom_meshtastic_requires_dfu = true custom_meshtastic_partition_scheme = 16MB diff --git a/variants/esp32s3/meshnology-w12/platformio.ini b/variants/esp32s3/meshnology-w12/platformio.ini index a43a490f9..a4fd2414b 100644 --- a/variants/esp32s3/meshnology-w12/platformio.ini +++ b/variants/esp32s3/meshnology-w12/platformio.ini @@ -7,6 +7,8 @@ custom_meshtastic_architecture = esp32-s3 custom_meshtastic_actively_supported = true custom_meshtastic_support_level = 1 custom_meshtastic_display_name = Meshnology W12 +custom_meshtastic_images = meshnology_w12.svg +custom_meshtastic_tags = Meshnology custom_meshtastic_requires_dfu = true custom_meshtastic_partition_scheme = 16MB diff --git a/variants/esp32s3/t-beam-1w/platformio.ini b/variants/esp32s3/t-beam-1w/platformio.ini index 74921e4c1..a363e02b6 100644 --- a/variants/esp32s3/t-beam-1w/platformio.ini +++ b/variants/esp32s3/t-beam-1w/platformio.ini @@ -2,7 +2,7 @@ [env:t-beam-1w] custom_meshtastic_hw_model = 122 custom_meshtastic_hw_model_slug = TBEAM_1_WATT -custom_meshtastic_architecture = esp32s3 +custom_meshtastic_architecture = esp32-s3 custom_meshtastic_actively_supported = true custom_meshtastic_support_level = 1 custom_meshtastic_display_name = LILYGO T-Beam 1W diff --git a/variants/esp32s3/t-beam-bpf/platformio.ini b/variants/esp32s3/t-beam-bpf/platformio.ini index bc19bb4bb..3c03f9d55 100644 --- a/variants/esp32s3/t-beam-bpf/platformio.ini +++ b/variants/esp32s3/t-beam-bpf/platformio.ini @@ -2,12 +2,13 @@ [env:t-beam-bpf] custom_meshtastic_hw_model = 124 custom_meshtastic_hw_model_slug = TBEAM_BPF -custom_meshtastic_architecture = esp32s3 +custom_meshtastic_architecture = esp32-s3 custom_meshtastic_actively_supported = true custom_meshtastic_support_level = 3 custom_meshtastic_display_name = LILYGO T-Beam BPF custom_meshtastic_images = tbeam-bpf.svg custom_meshtastic_tags = LilyGo +custom_meshtastic_partition_scheme = 16MB extends = esp32s3_base board_level = release diff --git a/variants/nrf52840/seeed_mesh_tracker_X1/platformio.ini b/variants/nrf52840/seeed_mesh_tracker_X1/platformio.ini index e12fbfd9a..8e5ba2c1c 100644 --- a/variants/nrf52840/seeed_mesh_tracker_X1/platformio.ini +++ b/variants/nrf52840/seeed_mesh_tracker_X1/platformio.ini @@ -1,6 +1,6 @@ [env:seeed_mesh_tracker_X1] custom_meshtastic_support_level = 1 -custom_meshtastic_images = seeed-mesh-tracker-x1.svg +custom_meshtastic_images = seeed_mesh_tracker_x1.svg custom_meshtastic_tags = Seeed custom_meshtastic_hw_model = 128 custom_meshtastic_hw_model_slug = MESH_TRACKER_X1 @@ -10,7 +10,7 @@ custom_meshtastic_actively_supported = true extends = nrf52840_base board = mesh-tracker-x1 -board_level = pr +board_level = release build_flags = ${nrf52840_base.build_flags} -Ivariants/nrf52840/seeed_mesh_tracker_X1 -Isrc/platform/nrf52/softdevice