Skip to content

Add T-Beam BPF (144-148 Mhz LoRa)#9703

Merged
vidplace7 merged 20 commits into
meshtastic:t-beam-bpffrom
vidplace7:t-beam-bpf
May 26, 2026
Merged

Add T-Beam BPF (144-148 Mhz LoRa)#9703
vidplace7 merged 20 commits into
meshtastic:t-beam-bpffrom
vidplace7:t-beam-bpf

Conversation

@vidplace7

@vidplace7 vidplace7 commented Feb 21, 2026

Copy link
Copy Markdown
Member

Add LilyGo T-Beam BPF, the first / only 144-148Mhz LoRa device 🍖

Requires:

@vidplace7 vidplace7 added the hardware-support Hardware related: new devices or modules, problems specific to hardware label Feb 21, 2026
@github-actions github-actions Bot added the needs-review Needs human review label Feb 21, 2026
@caveman99

Copy link
Copy Markdown
Member

EU (ITU Region 1) 2m Band is 144-146MHz - Can we either make 2 presets or (assuming a HAM knows what they are doing) make a tighter default preset and tell people to deliberately set a custom frequency if they wanna go outside? This way an EU operator may not unknowingly exceed their boundaries.

@caveman99 caveman99 added triaged Reviewed by the team, has enough information and ready to work on now. needs-tacos Every night can be taco night and removed needs-review Needs human review labels Mar 26, 2026
@caveman99 caveman99 marked this pull request as ready for review April 21, 2026 15:15
@caveman99 caveman99 requested review from Copilot and jp-bennett April 21, 2026 15:16

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Note

Copilot was unable to run its full agentic suite in this review.

Adds initial support for the LilyGo T-Beam BPF (144–148 MHz LoRa) ESP32-S3 variant, including board/variant definitions and new ham 2m region handling to keep region selection consistent with the device’s RF front-end.

Changes:

  • Added new ESP32-S3 board + variant definitions for T-Beam BPF (pins, build env, board JSON).
  • Introduced ham 2m region profiles (ITU1_2M, ITU23_2M) and enforced hardware/region compatibility checks.
  • Added AXP2101 rail initialization for TBEAM_BPF and RF95 power-enable handling.

Reviewed changes

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

Show a summary per file
File Description
variants/esp32s3/t-beam-bpf/variant.h Defines T-Beam BPF hardware wiring (GPS, OLED, LoRa, SD, PMU) and ham-only flag.
variants/esp32s3/t-beam-bpf/platformio.ini Adds PlatformIO environment for building the new T-Beam BPF target.
variants/esp32s3/t-beam-bpf/pins_arduino.h Defines Arduino core pin mappings (UART/I2C/SPI/SD).
boards/t-beam-bpf.json Adds PlatformIO board definition for the new hardware.
src/platform/esp32/architecture.h Maps T_BEAM_BPF define to protobuf hardware model enum.
src/mesh/RadioInterface.cpp Adds ham 2m regions/profile and enforces region ↔ hardware compatibility.
src/mesh/RF95Interface.cpp Adds RF95 power-enable toggling during init/sleep.
src/mesh/NodeDB.cpp Sets default licensed-mode for ham-only hardware on first install.
src/mesh/MeshRadio.h Exposes PROFILE_HAM.
src/graphics/draw/MenuHandler.cpp Limits region picker options on ham-only hardware.
src/Power.cpp Adds AXP2101 rail enablement for GNSS + MicroSD on TBEAM_BPF.

Comment thread src/mesh/RF95Interface.cpp Outdated
Comment thread variants/esp32s3/t-beam-bpf/variant.h
Comment thread variants/esp32s3/t-beam-bpf/variant.h
Comment thread variants/esp32s3/t-beam-bpf/pins_arduino.h Outdated
Comment thread variants/esp32s3/t-beam-bpf/pins_arduino.h
Comment thread src/graphics/draw/MenuHandler.cpp
@vidplace7

Copy link
Copy Markdown
Member Author

Blocked by #10120 (enabling frequency overrides, narrow presets)

@vidplace7 vidplace7 added the 2.8 label May 21, 2026
vidplace7 added 3 commits May 21, 2026 17:16
This is an appropriate default in the USA but not the EU.

The slot override really should follow the region itself, not the regionprofile.
@vidplace7

Copy link
Copy Markdown
Member Author

Depends on protobuf regen that includes:

@vidplace7 vidplace7 marked this pull request as draft May 26, 2026 22:53
@vidplace7 vidplace7 changed the base branch from develop to t-beam-bpf May 26, 2026 23:00
@vidplace7 vidplace7 marked this pull request as ready for review May 26, 2026 23:00
@vidplace7

Copy link
Copy Markdown
Member Author

Moving this to a branch in-org t-beam-bpf

@vidplace7 vidplace7 merged commit 1997cbc into meshtastic:t-beam-bpf May 26, 2026
47 of 68 checks passed
@vidplace7 vidplace7 deleted the t-beam-bpf branch May 26, 2026 23:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

2.8 hardware-support Hardware related: new devices or modules, problems specific to hardware needs-tacos Every night can be taco night triaged Reviewed by the team, has enough information and ready to work on now.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants