-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
add heltec tracker v2 board. #8160
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
cdbee89
to
8d323a1
Compare
@Quency-D , I added a common definition for the power amp (USE_GC1109_PA), so in case there are more devices in the future that use it you can use it more easily. Hope that's OK, if not, please feel free to revert :) |
Thanks, I did a simple test and it works fine. I'm doing more detailed testing. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR adds support for the Heltec Wireless Tracker V2 board by creating a new board variant that shares the same GC1109 power amplifier configuration as the Heltec V4.
- Creates complete board definition with pin mappings, display configuration, and LoRa settings
- Refactors power amplifier code to use
USE_GC1109_PA
define instead of board-specific conditionals - Updates screen initialization logic to include the new tracker variant
Reviewed Changes
Copilot reviewed 10 out of 10 changed files in this pull request and generated 2 comments.
Show a summary per file
File | Description |
---|---|
variants/esp32s3/heltec_wireless_tracker_v2/variant.h | Defines hardware pin mappings, display settings, and LoRa configuration for the new board |
variants/esp32s3/heltec_wireless_tracker_v2/platformio.ini | PlatformIO build configuration for the tracker v2 variant |
variants/esp32s3/heltec_wireless_tracker_v2/pins_arduino.h | Arduino-style pin definitions and constants for the board |
variants/esp32s3/heltec_v4/variant.h | Adds USE_GC1109_PA define to enable shared power amplifier code |
src/sleep.cpp | Updates conditional compilation to use USE_GC1109_PA instead of HELTEC_V4 |
src/platform/esp32/architecture.h | Adds hardware model definition for the new tracker variant |
src/mesh/SX126xInterface.cpp | Refactors power amplifier control to use USE_GC1109_PA define |
src/graphics/Screen.cpp | Includes tracker v2 in screen initialization logic |
src/configuration.h | Updates power amplifier configuration to use USE_GC1109_PA |
boards/heltec_wireless_tracker_v2.json | Board definition file for PlatformIO with hardware specifications |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
🤝 Attestations