mirror of
https://github.com/meshtastic/firmware.git
synced 2025-04-23 17:13:38 +00:00

* Speed up builds by referencing github zips for shallow checkouts * sadly the zips don't include submodules OR submodule metadata
44 lines
1.5 KiB
INI
44 lines
1.5 KiB
INI
; Using original screen class
|
|
[env:t-echo]
|
|
extends = nrf52840_base
|
|
board = t-echo
|
|
board_check = true
|
|
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/src/cortex-m4/fpv4-sp-d16-hard"
|
|
-DEINK_DISPLAY_MODEL=GxEPD2_154_D67
|
|
-DEINK_WIDTH=200
|
|
-DEINK_HEIGHT=200
|
|
-DUSE_EINK
|
|
-DUSE_EINK_DYNAMICDISPLAY ; Enable Dynamic EInk
|
|
-DEINK_LIMIT_FASTREFRESH=20 ; How many consecutive fast-refreshes are permitted
|
|
-DEINK_BACKGROUND_USES_FAST ; (Optional) Use FAST refresh for both BACKGROUND and RESPONSIVE, until a limit is reached.
|
|
|
|
build_src_filter = ${nrf52_base.build_src_filter} +<../variants/t-echo>
|
|
lib_deps =
|
|
${nrf52840_base.lib_deps}
|
|
https://github.com/meshtastic/GxEPD2/archive/55f618961db45a23eff0233546430f1e5a80f63a.zip
|
|
lewisxhe/PCF8563_Library@^1.0.1
|
|
;upload_protocol = fs
|
|
|
|
[env:t-echo-inkhud]
|
|
extends = nrf52840_base, inkhud
|
|
board = t-echo
|
|
board_check = true
|
|
debug_tool = jlink
|
|
build_flags =
|
|
${nrf52840_base.build_flags}
|
|
${inkhud.build_flags}
|
|
-I variants/t-echo
|
|
-L "${platformio.libdeps_dir}/${this.__env__}/bsec2/src/cortex-m4/fpv4-sp-d16-hard"
|
|
build_src_filter =
|
|
${nrf52_base.build_src_filter}
|
|
${inkhud.build_src_filter}
|
|
+<../variants/t-echo>
|
|
lib_deps =
|
|
${inkhud.lib_deps} ; InkHUD libs first, so we get GFXRoot instead of AdafruitGFX
|
|
${nrf52840_base.lib_deps}
|
|
lewisxhe/PCF8563_Library@^1.0.1 |