Skip to content

Support LR2021#10111

Open
SeeedZhangyh wants to merge 11 commits intomeshtastic:developfrom
Seeed-Studio:tracker-t1000-e-pro-lora
Open

Support LR2021#10111
SeeedZhangyh wants to merge 11 commits intomeshtastic:developfrom
Seeed-Studio:tracker-t1000-e-pro-lora

Conversation

@SeeedZhangyh
Copy link
Copy Markdown

Support LR20x0

Seeed introduces the Tracker-T1000-E-Pro, featuring support for LR2021.
This represents a split from the original submission #10067, specifically covering the portion that adds support for LR2021.

LoRa Module Update: LR2021

The LoRa subsystem has been updated to support the LR20x0 series modules. Since the Pro version utilizes the LR2021 to replace the LoRa hardware found in the previous iteration, this update introduces the corresponding software adaptations required to ensure the LR2021 module communicates correctly and functions properly on the T1000-E-Pro board.

@CLAassistant
Copy link
Copy Markdown

CLAassistant commented Apr 9, 2026

CLA assistant check
All committers have signed the CLA.

@github-actions github-actions bot added needs-review Needs human review hardware-support Hardware related: new devices or modules, problems specific to hardware labels Apr 9, 2026
@fifieldt fifieldt added the enhancement New feature or request label Apr 9, 2026
@fifieldt
Copy link
Copy Markdown
Member

fifieldt commented Apr 9, 2026

I've added a patch at #10112 to update variants that should exclude LR2021, so they won't be affected by this new support.

@fifieldt
Copy link
Copy Markdown
Member

fifieldt commented Apr 9, 2026

This looks good to me. In #contributors-lounge on discord I've requested anyone with an LR2021 chip to download and test.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds firmware support for the RadioLib LR2021 (LR20x0 family) LoRa radio, enabling use on new hardware (e.g., Seeed Tracker-T1000-E-Pro) by introducing a dedicated radio interface and wiring it into radio initialization and type detection.

Changes:

  • Add LR20x0/LR2021 RadioInterface adapter (common LR20x0 template + LR2021 concrete interface).
  • Integrate LR2021 detection/initialization into initLoRa() and extend LoRaRadioType.
  • Pin RadioLib to a specific upstream commit that includes LR2021 support.

Reviewed changes

Copilot reviewed 8 out of 8 changed files in this pull request and generated 6 comments.

Show a summary per file
File Description
src/mesh/RadioInterface.cpp Adds LR2021 include and init block to create/configure LR2021 radio interface.
src/mesh/LR20x0Interface.h Declares LR20x0 template adapter used as base for LR2021.
src/mesh/LR20x0Interface.cpp Implements LR20x0 adapter behavior (init, RX/TX control, sleep, CAD, metadata).
src/mesh/LR2021Interface.h Declares LR2021 concrete interface type.
src/mesh/LR2021Interface.cpp Implements LR2021 constructor wiring into LR20x0 base.
src/mesh/InterfacesTemplates.cpp Adds template instantiation for LR20x0Interface.
src/detect/LoRaRadioType.h Adds LR2021_RADIO enum entry for runtime identification.
platformio.ini Updates RadioLib dependency to a commit archive that presumably contains LR2021 support.

SeeedZhangyh and others added 3 commits April 13, 2026 20:49
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request hardware-support Hardware related: new devices or modules, problems specific to hardware needs-review Needs human review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants