Skip to content

feat: add heltec_v4_r8 board#308

Merged
mverch67 merged 8 commits into
meshtastic:masterfrom
Quency-D:heltec-v4-r8
Apr 26, 2026
Merged

feat: add heltec_v4_r8 board#308
mverch67 merged 8 commits into
meshtastic:masterfrom
Quency-D:heltec-v4-r8

Conversation

@Quency-D

Copy link
Copy Markdown
Contributor

The RAM has been increased compared to the original v4 to facilitate the use of more functions such as maps. However, the pinout is significantly different from the original v4 and incompatible, so a new model has been submitted.

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 a new Heltec board variant (HELTEC_V4_R8_TFT) by introducing a dedicated LovyanGFX driver and wiring it into display creation and SD-card SPI initialization.

Changes:

  • Add LGFX_HELTEC_V4_R8_TFT display driver implementation.
  • Register the new driver in DisplayDriverFactory behind HELTEC_V4_R8_TFT.
  • Adjust SD-card SPI init path for HELTEC_V4_R8_TFT to explicitly SPI.begin(...) on ESP32S3.

Reviewed changes

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

File Description
source/graphics/driver/DisplayDriverFactory.cpp Adds include + factory switch case for the new HELTEC v4 R8 TFT driver
source/graphics/common/SdCard.cpp Adds board-specific SPI init override for SD card on HELTEC v4 R8
include/graphics/LGFX/LGFX_HELTEC_V4_R8_TFT.h New LovyanGFX driver/header for HELTEC v4 R8 TFT (panel/bus/backlight + optional touch wrapper)

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread source/graphics/driver/DisplayDriverFactory.cpp Outdated
Comment thread include/graphics/LGFX/LGFX_HELTEC_V4_R8_TFT.h Outdated
Comment thread include/graphics/LGFX/LGFX_HELTEC_V4_R8_TFT.h Outdated
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@mverch67 mverch67 changed the title add heltec_v4_r8 board feat: add heltec_v4_r8 board Apr 26, 2026
mverch67 and others added 2 commits April 26, 2026 13:48
Co-authored-by: Copilot <copilot@github.com>
@mverch67 mverch67 merged commit 7289329 into meshtastic:master Apr 26, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants