Skip to content

add heltec_mesh_node_t096 board.#9960

Merged
thebentern merged 9 commits into
meshtastic:developfrom
Quency-D:heltec-mesh-node-t096
Mar 22, 2026
Merged

add heltec_mesh_node_t096 board.#9960
thebentern merged 9 commits into
meshtastic:developfrom
Quency-D:heltec-mesh-node-t096

Conversation

@Quency-D

Copy link
Copy Markdown
Contributor

This is the schematic diagram link.
The main controller of this board is NRF52840, which has onboard GPS and LoRa functionality.

🤝 Attestations

  • I have tested that my proposed changes behave as described.
  • I have tested that my proposed changes do not cause any obvious regressions on the following devices:
    • Heltec (Lora32) V3
    • Heltec (Lora32) V4
    • heltec_mesh_node_t096

@github-actions github-actions Bot added the hardware-support Hardware related: new devices or modules, problems specific to hardware label Mar 20, 2026
@thebentern thebentern requested a review from Copilot March 20, 2026 11:30

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

Adds support for the Heltec Mesh Node T096 (nRF52840 + SX1262 + onboard GPS + ST7735 TFT) by introducing a new nRF52840 variant/PlatformIO env + board definition, and wiring it into the existing TFT + LoRa FEM handling paths.

Changes:

  • Added a new heltec_mesh_node_t096 nRF52840 variant (pins, shutdown behavior) and PlatformIO environment.
  • Added a new PlatformIO board definition JSON for heltec_mesh_node_t096.
  • Extended shared code to handle this board in TFT display power/brightness logic and to avoid ESP32-only FEM GPIO hold calls on non-ESP32 targets.

Reviewed changes

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

Show a summary per file
File Description
variants/nrf52840/heltec_mesh_node_t096/variant.h New board pinmap (TFT, LoRa SX1262 + KCT8103L FEM, GPS, battery ADC).
variants/nrf52840/heltec_mesh_node_t096/variant.cpp New variant init/shutdown behavior for the board’s GPIOs.
variants/nrf52840/heltec_mesh_node_t096/platformio.ini New build environment for the T096 including TFT_eSPI configuration.
boards/heltec_mesh_node_t096.json New PlatformIO board definition for the T096 (nRF5 core, S140, upload/debug config).
src/mesh/LoRaFEMInterface.cpp Guards ESP32-only RTC GPIO hold calls so USE_KCT8103L_PA can build on non-ESP32.
src/graphics/TFTDisplay.cpp Excludes T096 from LGFX-only wake/sleep/brightness/touch paths; creates TFT_eSPI instance.
src/configuration.h Adds TX gain curve selection for T096 when using KCT8103L FEM.

Comment thread variants/nrf52840/heltec_mesh_node_t096/variant.h Outdated
Comment thread variants/nrf52840/heltec_mesh_node_t096/variant.h Outdated
Comment thread variants/nrf52840/heltec_mesh_node_t096/platformio.ini
Comment thread src/configuration.h
Comment thread boards/heltec_mesh_node_t096.json
Comment thread variants/nrf52840/heltec_mesh_node_t096/variant.h Outdated
Comment thread variants/nrf52840/heltec_mesh_node_t096/platformio.ini Outdated
Quency-D and others added 6 commits March 20, 2026 19:44
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@thebentern thebentern merged commit d293d65 into meshtastic:develop Mar 22, 2026
14 checks passed
thebentern added a commit that referenced this pull request Mar 22, 2026
* add heltec_mesh_node_t096 board.

* Fixed the GPS reset pin comments.

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Added compiles if NUM_PA_POINTS is not defined.

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Correct the pin description.

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Specify the version of the dependency library TFT_eSPI.

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Adding fields missing from the .ini file.

* Modify the screen SPI frequency to 40 MHz.

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
mariotti pushed a commit to mariotti/firmware that referenced this pull request May 6, 2026
* add heltec_mesh_node_t096 board.

* Fixed the GPS reset pin comments.

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Added compiles if NUM_PA_POINTS is not defined.

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Correct the pin description.

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Specify the version of the dependency library TFT_eSPI.

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Adding fields missing from the .ini file.

* Modify the screen SPI frequency to 40 MHz.

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
jeek pushed a commit to jeek/Meshtastic-Exploiteers-Hacker-Pager that referenced this pull request Jun 30, 2026
* add heltec_mesh_node_t096 board.

* Fixed the GPS reset pin comments.

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Added compiles if NUM_PA_POINTS is not defined.

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Correct the pin description.

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Specify the version of the dependency library TFT_eSPI.

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Adding fields missing from the .ini file.

* Modify the screen SPI frequency to 40 MHz.

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

hardware-support Hardware related: new devices or modules, problems specific to hardware

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants