switch heltec_v3 variant to esp-idf sdk with power management enabled

This commit is contained in:
m1nl 2025-04-24 00:40:27 +02:00
parent 2d5b9297e3
commit 5745c4ecf2
2 changed files with 6 additions and 2 deletions

View File

@ -1,8 +1,10 @@
[env:heltec-v3]
[env:heltec-v3]
extends = esp32s3_base
platform_packages =
platformio/framework-arduinoespressif32 @ https://github.com/m1nl/arduino-esp32/archive/refs/tags/2.0.17+1685ef30.tar.gz ; enable PM support in ESP-IDF
board = heltec_wifi_lora_32_V3
board_check = true
board_build.partitions = default_8MB.csv
build_flags =
build_flags =
${esp32s3_base.build_flags} -D HELTEC_V3 -I variants/heltec_v3
-D GPS_POWER_TOGGLE ; comment this line to disable triple press function on the user button to turn off gps entirely.

View File

@ -1,5 +1,7 @@
#define LED_PIN LED
#define HAS_32768HZ
#define USE_SSD1306 // Heltec_v3 has a SSD1306 display
#define RESET_OLED RST_OLED