set custom framework for heltec_vision_master_e213

This commit is contained in:
m1nl 2025-05-18 18:09:57 +02:00
parent 46f2a62186
commit a267a645eb
2 changed files with 11 additions and 4 deletions

View File

@ -2,9 +2,11 @@
extends = esp32s3_base extends = esp32s3_base
board = heltec_vision_master_e213 board = heltec_vision_master_e213
board_build.partitions = default_8MB.csv board_build.partitions = default_8MB.csv
build_flags = platform_packages =
platformio/framework-arduinoespressif32 @ https://github.com/m1nl/arduino-esp32/archive/refs/tags/2.0.17+5ae9873e.tar.gz ; disable WiFi IRAM optimizations in ESP-IDF
build_flags =
${esp32s3_base.build_flags} ${esp32s3_base.build_flags}
-Ivariants/heltec_vision_master_e213 -Ivariants/heltec_vision_master_e213
-DHELTEC_VISION_MASTER_E213 -DHELTEC_VISION_MASTER_E213
-DUSE_EINK -DUSE_EINK
-DGXEPD2_DRIVER_0=GxEPD2_213_FC1 -DGXEPD2_DRIVER_0=GxEPD2_213_FC1
@ -25,10 +27,12 @@ upload_speed = 115200
extends = esp32s3_base, inkhud extends = esp32s3_base, inkhud
board = heltec_vision_master_e213 board = heltec_vision_master_e213
board_build.partitions = default_8MB.csv board_build.partitions = default_8MB.csv
platform_packages =
platformio/framework-arduinoespressif32 @ https://github.com/m1nl/arduino-esp32/archive/refs/tags/2.0.17+5ae9873e.tar.gz ; disable WiFi IRAM optimizations in ESP-IDF
build_src_filter = build_src_filter =
${esp32_base.build_src_filter} ${esp32_base.build_src_filter}
${inkhud.build_src_filter} ${inkhud.build_src_filter}
build_flags = build_flags =
${esp32s3_base.build_flags} ${esp32s3_base.build_flags}
${inkhud.build_flags} ${inkhud.build_flags}
-I variants/heltec_vision_master_e213 -I variants/heltec_vision_master_e213
@ -36,4 +40,4 @@ build_flags =
lib_deps = lib_deps =
${inkhud.lib_deps} ; InkHUD libs first, so we get GFXRoot instead of AdafruitGFX ${inkhud.lib_deps} ; InkHUD libs first, so we get GFXRoot instead of AdafruitGFX
${esp32s3_base.lib_deps} ${esp32s3_base.lib_deps}
upload_speed = 921600 upload_speed = 921600

View File

@ -1,4 +1,7 @@
#define LED_PIN 45 // LED is not populated on earliest board variant #define LED_PIN 45 // LED is not populated on earliest board variant
#define HAS_32768HZ
#define BUTTON_PIN 0 #define BUTTON_PIN 0
#define PIN_BUTTON2 21 // Second built-in button #define PIN_BUTTON2 21 // Second built-in button
#define ALT_BUTTON_PIN PIN_BUTTON2 // Send the up event #define ALT_BUTTON_PIN PIN_BUTTON2 // Send the up event