Fix macros

This commit is contained in:
Ben Meadors 2024-07-09 15:11:11 -05:00
parent ba8d17b9c1
commit e74d77dc44
5 changed files with 19 additions and 23 deletions

View File

@ -3,19 +3,19 @@ extends = esp32s3_base
board = heltec_wifi_lora_32_V3 board = heltec_wifi_lora_32_V3
build_flags = build_flags =
${esp32s3_base.build_flags} ${esp32s3_base.build_flags}
-I variants/heltec_vision_master_e213 -Ivariants/heltec_vision_master_e213
-D HELTEC_VISION_MASTER_E213 -DHELTEC_VISION_MASTER_E213
-D EINK_DISPLAY_MODEL=GxEPD2_213_FC1 -DEINK_DISPLAY_MODEL=GxEPD2_213_FC1
-D EINK_WIDTH=250 -DEINK_WIDTH=250
-D EINK_HEIGHT=122 -DEINK_HEIGHT=122
-D USE_EINK_DYNAMICDISPLAY ; Enable Dynamic EInk -DUSE_EINK_DYNAMICDISPLAY ; Enable Dynamic EInk
-D EINK_LIMIT_FASTREFRESH=10 ; How many consecutive fast-refreshes are permitted -DEINK_LIMIT_FASTREFRESH=10 ; How many consecutive fast-refreshes are permitted
-D EINK_LIMIT_RATE_BACKGROUND_SEC=30 ; Minimum interval between BACKGROUND updates -DEINK_LIMIT_RATE_BACKGROUND_SEC=30 ; Minimum interval between BACKGROUND updates
-D EINK_LIMIT_RATE_RESPONSIVE_SEC=1 ; Minimum interval between RESPONSIVE updates -DEINK_LIMIT_RATE_RESPONSIVE_SEC=1 ; Minimum interval between RESPONSIVE updates
; -D EINK_LIMIT_GHOSTING_PX=2000 ; (Optional) How much image ghosting is tolerated ; -D EINK_LIMIT_GHOSTING_PX=2000 ; (Optional) How much image ghosting is tolerated
-D EINK_BACKGROUND_USES_FAST ; (Optional) Use FAST refresh for both BACKGROUND and RESPONSIVE, until a limit is reached. -DEINK_BACKGROUND_USES_FAST ; (Optional) Use FAST refresh for both BACKGROUND and RESPONSIVE, until a limit is reached.
-D EINK_HASQUIRK_GHOSTING ; Display model is identified as "prone to ghosting" -DEINK_HASQUIRK_GHOSTING ; Display model is identified as "prone to ghosting"
-D EINK_HASQUIRK_WEAKFASTREFRESH ; Pixels set with fast-refresh are easy to clear, disrupted by sunlight -DEINK_HASQUIRK_WEAKFASTREFRESH ; Pixels set with fast-refresh are easy to clear, disrupted by sunlight
lib_deps = lib_deps =
${esp32s3_base.lib_deps} ${esp32s3_base.lib_deps}
https://github.com/meshtastic/GxEPD2#b202ebfec6a4821e098cf7a625ba0f6f2400292d https://github.com/meshtastic/GxEPD2#b202ebfec6a4821e098cf7a625ba0f6f2400292d

View File

@ -3,8 +3,6 @@
#include <stdint.h> #include <stdint.h>
#define HELTEC_VISION_MASTER_E290 true
static const uint8_t LED_BUILTIN = 35; static const uint8_t LED_BUILTIN = 35;
#define BUILTIN_LED LED_BUILTIN // backward compatibility #define BUILTIN_LED LED_BUILTIN // backward compatibility
#define LED_BUILTIN LED_BUILTIN #define LED_BUILTIN LED_BUILTIN

View File

@ -3,11 +3,11 @@ extends = esp32s3_base
board = heltec_wifi_lora_32_V3 board = heltec_wifi_lora_32_V3
build_flags = build_flags =
${esp32s3_base.build_flags} ${esp32s3_base.build_flags}
-I variants/heltec_vision_master_e290 -Ivariants/heltec_vision_master_e290
-D HELTEC_VISION_MASTER_E290 -DHELTEC_VISION_MASTER_E290
-D EINK_DISPLAY_MODEL=GxEPD2_290_BS -DEINK_DISPLAY_MODEL=GxEPD2_290_BS
-D EINK_WIDTH=296 -DEINK_WIDTH=296
-D EINK_HEIGHT=128 -DEINK_HEIGHT=128
; -D USE_EINK_DYNAMICDISPLAY ; Enable Dynamic EInk ; -D USE_EINK_DYNAMICDISPLAY ; Enable Dynamic EInk
; -D EINK_LIMIT_FASTREFRESH=10 ; How many consecutive fast-refreshes are permitted ; -D EINK_LIMIT_FASTREFRESH=10 ; How many consecutive fast-refreshes are permitted
; -D EINK_LIMIT_RATE_BACKGROUND_SEC=1 ; Minimum interval between BACKGROUND updates ; -D EINK_LIMIT_RATE_BACKGROUND_SEC=1 ; Minimum interval between BACKGROUND updates

View File

@ -3,8 +3,6 @@
#include <stdint.h> #include <stdint.h>
#define HELTEC_VISION_MASTER_T190 true
static const uint8_t LED_BUILTIN = 35; static const uint8_t LED_BUILTIN = 35;
#define BUILTIN_LED LED_BUILTIN // backward compatibility #define BUILTIN_LED LED_BUILTIN // backward compatibility
#define LED_BUILTIN LED_BUILTIN #define LED_BUILTIN LED_BUILTIN

View File

@ -3,8 +3,8 @@ extends = esp32s3_base
board = heltec_wifi_lora_32_V3 board = heltec_wifi_lora_32_V3
build_flags = build_flags =
${esp32s3_base.build_flags} ${esp32s3_base.build_flags}
-I variants/heltec_vision_master_t190 -Ivariants/heltec_vision_master_t190
-D PRIVATE_HW -DHELTEC_VISION_MASTER_T190
; -D PRIVATE_HW ; -D PRIVATE_HW
lib_deps = lib_deps =
${esp32s3_base.lib_deps} ${esp32s3_base.lib_deps}