feat: add Heltec tracker MQTT observer builds#12
Open
yellowcooln wants to merge 1 commit into
Open
Conversation
Author
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


PR Summary
Overview
This PR adds MQTT observer firmware targets for both the Heltec Wireless Tracker v1.1 and Heltec Wireless Tracker v2 platforms.
The implementation introduces a dedicated PlatformIO board definition for Tracker v1.1, reuses the existing Tracker v2 variant where the hardware is compatible, and updates FEM handling so both hardware revisions build correctly.
Changes
New MQTT Observer Build Targets
Added four new firmware environments:
heltec_tracker_v1_1_repeater_observer_mqttheltec_tracker_v1_1_room_server_observer_mqttheltec_tracker_v2_repeater_observer_mqttheltec_tracker_v2_room_server_observer_mqttHeltec Tracker v1.1 Support
FEM Compatibility
Updated
LoRaFEMControl.cppso FEM control is only enabled when the required hardware is present.This allows Tracker v1.1 to build successfully without the KCT8103L FEM control pins found on Tracker v2 hardware while preserving existing Tracker v2 behavior.
Documentation
MQTT_IMPLEMENTATION.mdwith the new MQTT observer firmware environments.Files Changed
boards/heltec_tracker_v1_1.jsonvariants/heltec_tracker_v2/platformio.inivariants/heltec_tracker_v2/LoRaFEMControl.cppMQTT_IMPLEMENTATION.mdValidation
Performed the following checks:
Confirmed environment discovery detects all four new MQTT observer targets.
Build validation:
All PlatformIO builds completed successfully.
Assessment
The change is low risk and primarily additive. Tracker v1.1 support is implemented using the existing Tracker v2 codebase where possible, while hardware-specific FEM functionality remains isolated to boards that support it.