Add support for Seeed SenseCAP MeshTracker X1 (LR2021) - #3112
Merged
Conversation
|
Should be merged into dev branch not main. |
Hacuchino-hash
force-pushed
the
add-meshtracker-x1
branch
from
August 4, 2026 20:57
a582ee9 to
1ffd827
Compare
Author
|
Retargeted to |
Member
|
Thanks for this. We've had an LR2021 wrapper in development for some time now, and have just merged. So, if you can update your PR, I'll get this one merged. |
Hacuchino-hash
force-pushed
the
add-meshtracker-x1
branch
from
August 5, 2026 10:50
1ffd827 to
3d6a891
Compare
Author
|
Updated. Dropped my wrapper in favour of the merged one and switched the variant over to |
hermes-gadget
added a commit
to gadgethd/MeshCore-MQTT
that referenced
this pull request
Aug 6, 2026
Upstream dev: 84e3a67..f4ec1d4 (2 commits) - Add support for Seeed SenseCAP MeshTracker X1 (LR2021) (meshcore-dev#3112) Clean auto-merge (no conflicts). MQTT additions preserved.
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.
Summary
Adds support for the Seeed SenseCAP MeshTracker X1, a card-sized tracker built on the nRF52840 with Semtech's new LR2021 radio and a dual-band (L1+L5) Airoha GNSS.
This is (as far as I can tell) the first LR2021-based target in MeshCore. RadioLib gained LR2021 support in the 7.6/7.7 line, and the existing
jgromes/RadioLib @ ^7.6.0dependency resolves to 7.7.1, which includes the driver plus the datasheet v2.1 updates, so no dependency changes were needed.What's included
src/helpers/radiolib/CustomLR2021.h+CustomLR2021Wrapper.h: LR2021 wrappers modeled closely on the LR1110 ones (header-error recovery viastandby(), preamble/SF handling, instant RSSI for noise-floor sampling, RX boosted gain mapped to the LR2021's 0 to 7 boost levels)variants/meshtracker_x1/: variant pin map, board class, GPS sensor manager (Airoha @ 115200, same power-pin sequencing style as the T1000-E), and envs forrepeater,room_server,companion_radio_usb,companion_radio_bleboards/seeed-mesh-tracker-x1.json: board definition (S140 7.3.0, same layout as the T1000-E)Pin assignments were cross-checked against Seeed's wiki and the Meshtastic
seeed_mesh_tracker_X1variant. One LR2021-specific detail: the chip's IRQ line to the MCU is its DIO8 pin (routed to P1.01), configured via RadioLib'sirqDioNumbeforebegin().The four env names follow the standard suffixes, so
build.shfirmware discovery picks them up automatically.Testing
MeshTracker_X1_companion_radio_bleon real hardware via serial DFU: boots, USB enumerates, BLE advertises, and a phone running the MeshCore app connects and interacts normally. Sinceradio_init()halts the firmware before BLE starts on failure, this confirms the LR2021 initializes with the TCXO/IRQ config in this PR.gpssensor setting powers the Airoha receiver, the node gets a fix, and location populates in the companion app.All functional areas are now verified on real hardware: boot/USB, BLE companion with the app, over-the-air TX/RX, GPS, and battery sensing.