mirror of
https://github.com/meshtastic/firmware.git
synced 2025-02-01 18:29:56 +00:00
6acc63729b
* 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>
28 lines
781 B
INI
28 lines
781 B
INI
[env:my-esp32s3-diy-eink]
|
|
board_level = extra
|
|
extends = esp32s3_base
|
|
board = my_esp32s3_diy_eink
|
|
board_build.arduino.memory_type = dio_opi
|
|
board_build.mcu = esp32s3
|
|
board_build.f_cpu = 240000000L
|
|
upload_protocol = esptool
|
|
;upload_port = /dev/ttyACM1
|
|
upload_speed = 921600
|
|
platform_packages =
|
|
tool-esptoolpy@^1.40500.0
|
|
lib_deps =
|
|
${esp32_base.lib_deps}
|
|
zinggjm/GxEPD2@^1.5.1
|
|
adafruit/Adafruit NeoPixel@^1.10.7
|
|
build_unflags = -DARDUINO_USB_MODE=1
|
|
build_flags =
|
|
;${esp32_base.build_flags} -D MY_ESP32S3_DIY -I variants/my_esp32s3_diy_eink
|
|
${esp32_base.build_flags} -D PRIVATE_HW -I variants/my_esp32s3_diy_eink
|
|
-Dmy
|
|
-DEINK_DISPLAY_MODEL=GxEPD2_290_T5D
|
|
-DEINK_WIDTH=296
|
|
-DEINK_HEIGHT=128
|
|
-DBOARD_HAS_PSRAM
|
|
-mfix-esp32-psram-cache-issue
|
|
-DARDUINO_USB_MODE=0
|