mirror of
https://github.com/meshtastic/firmware.git
synced 2025-08-10 23:47:12 +00:00

* Refactor EInkDisplay A lot of variant specific code is merged, with the macros pushed to the respective variant.h files. "Dynamic Partial" code has been purged, pending a rewrite. * fix: declare class only if USE_EINK, init all members * refactor: move macros to platformio.ini Responds to https://github.com/meshtastic/firmware/pull/3299#issuecomment-1966425926 * fix: EInkDisplay::connect() references old macros Usage was in a block of variant-specific code, which had been intentionally left untouched. * fix: remove duplicate macros from variant.h --------- Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
16 lines
451 B
INI
16 lines
451 B
INI
[env:heltec-wireless-paper-v1_0]
|
|
extends = esp32s3_base
|
|
board = heltec_wifi_lora_32_V3
|
|
build_flags =
|
|
${esp32s3_base.build_flags}
|
|
-I variants/heltec_wireless_paper_v1
|
|
-D HELTEC_WIRELESS_PAPER_V1_0
|
|
-D EINK_DISPLAY_MODEL=GxEPD2_213_BN
|
|
-D EINK_WIDTH=250
|
|
-D EINK_HEIGHT=122
|
|
lib_deps =
|
|
${esp32s3_base.lib_deps}
|
|
https://github.com/meshtastic/GxEPD2/
|
|
adafruit/Adafruit BusIO@^1.13.2
|
|
lewisxhe/PCF8563_Library@^1.0.1
|
|
upload_speed = 115200 |