mirror of
https://github.com/meshtastic/firmware.git
synced 2025-07-31 02:45:41 +00:00
switch heltec_v3 variant to esp-idf sdk with power management enabled
This commit is contained in:
parent
2d5b9297e3
commit
5745c4ecf2
@ -1,8 +1,10 @@
|
|||||||
[env:heltec-v3]
|
[env:heltec-v3]
|
||||||
extends = esp32s3_base
|
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 = heltec_wifi_lora_32_V3
|
||||||
board_check = true
|
board_check = true
|
||||||
board_build.partitions = default_8MB.csv
|
board_build.partitions = default_8MB.csv
|
||||||
build_flags =
|
build_flags =
|
||||||
${esp32s3_base.build_flags} -D HELTEC_V3 -I variants/heltec_v3
|
${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.
|
-D GPS_POWER_TOGGLE ; comment this line to disable triple press function on the user button to turn off gps entirely.
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
#define LED_PIN LED
|
#define LED_PIN LED
|
||||||
|
|
||||||
|
#define HAS_32768HZ
|
||||||
|
|
||||||
#define USE_SSD1306 // Heltec_v3 has a SSD1306 display
|
#define USE_SSD1306 // Heltec_v3 has a SSD1306 display
|
||||||
|
|
||||||
#define RESET_OLED RST_OLED
|
#define RESET_OLED RST_OLED
|
||||||
|
Loading…
Reference in New Issue
Block a user