From b93f690047e66e8cce5127e1d069329725961455 Mon Sep 17 00:00:00 2001 From: Andrew Yong Date: Sat, 29 Aug 2026 01:55:23 +0800 Subject: [PATCH] feat(wio-e5): promote to actively supported variant Add the custom_meshtastic_* metadata block to [env:wio-e5], mirroring [env:rak4631] and [env:rak3172], so bin/platformio-custom.py emits a manifest with activelySupported=true, supportLevel=1, hwModel=73 and hwModelSlug=WIO_E5. The flasher board list and api.meshtastic.org/resource/deviceHardware are generated from these per-board manifests, so the board now appears as a selectable device. displayName is "Seeed Wio-E5", covering both boards the variant builds for. No custom_meshtastic_images: web-flasher has no wio-e5.svg. board_level stays pr (the smallest matrix subset, also built in every larger matrix), matching [env:rak4631] and [env:rak3172]. Rewrite the variant.h header comment: drop the "work in progress / do not expect a working device" disclaimer, which contradicts an actively supported declaration, and state that the one variant covers both the Wio-E5 Development Kit and the Wio-E5 mini, which share the LoRa-E5 module pin map and the PB5 status LED. No protobuf change: WIO_E5 = 73 and the HW_VENDOR mapping for _VARIANT_WIOE5_ already exist. Assisted-by: Claude Sonnet 5 Signed-off-by: Andrew Yong --- variants/stm32/wio-e5/platformio.ini | 8 ++++++++ variants/stm32/wio-e5/variant.h | 12 ++++-------- 2 files changed, 12 insertions(+), 8 deletions(-) diff --git a/variants/stm32/wio-e5/platformio.ini b/variants/stm32/wio-e5/platformio.ini index 8c7579aa3dc..2aa10c0c928 100644 --- a/variants/stm32/wio-e5/platformio.ini +++ b/variants/stm32/wio-e5/platformio.ini @@ -1,4 +1,12 @@ [env:wio-e5] +custom_meshtastic_hw_model = 73 +custom_meshtastic_hw_model_slug = WIO_E5 +custom_meshtastic_architecture = stm32 +custom_meshtastic_actively_supported = true +custom_meshtastic_support_level = 1 +custom_meshtastic_display_name = Seeed Wio-E5 +custom_meshtastic_tags = Seeed + extends = stm32_base board = lora_e5_dev_board board_level = pr diff --git a/variants/stm32/wio-e5/variant.h b/variants/stm32/wio-e5/variant.h index da2c623fb3b..07cca6497fb 100644 --- a/variants/stm32/wio-e5/variant.h +++ b/variants/stm32/wio-e5/variant.h @@ -1,12 +1,8 @@ /* -Wio-E5 mini (formerly LoRa-E5 mini) -https://www.seeedstudio.com/LoRa-E5-mini-STM32WLE5JC-p-4869.html -https://www.seeedstudio.com/LoRa-E5-Wireless-Module-p-4745.html -*/ - -/* -This variant is a work in progress. -Do not expect a working Meshtastic device with this target. +Seeed LoRa-E5 (STM32WLE5JC) module - Wio-E5 Development Kit and Wio-E5 mini +https://wiki.seeedstudio.com/LoRa_E5_Dev_Board/ +https://wiki.seeedstudio.com/LoRa_E5_mini/ +LED_POWER (PB5) and the module pin map are common to both boards. */ #ifndef _VARIANT_WIOE5_