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>
21 lines
746 B
INI
21 lines
746 B
INI
; First prototype eink/nrf52840/sx1262 device
|
|
[env:t-echo]
|
|
extends = nrf52840_base
|
|
board = t-echo
|
|
debug_tool = jlink
|
|
|
|
# add -DCFG_SYSVIEW if you want to use the Segger systemview tool for OS profiling.
|
|
build_flags = ${nrf52840_base.build_flags} -Ivariants/t-echo
|
|
-DGPS_POWER_TOGGLE
|
|
-L "${platformio.libdeps_dir}/${this.__env__}/BSEC2 Software Library/src/cortex-m4/fpv4-sp-d16-hard"
|
|
-DEINK_DISPLAY_MODEL=GxEPD2_154_D67
|
|
-DEINK_WIDTH=200
|
|
-DEINK_HEIGHT=200
|
|
build_src_filter = ${nrf52_base.build_src_filter} +<../variants/t-echo>
|
|
lib_deps =
|
|
${nrf52840_base.lib_deps}
|
|
https://github.com/meshtastic/GxEPD2#afce87a97dda1ac31d8a28dc8fa7c6f55dc96a61
|
|
adafruit/Adafruit BusIO@^1.13.2
|
|
lewisxhe/PCF8563_Library@^1.0.1
|
|
;upload_protocol = fs
|