2022-01-25 15:56:16 +01:00
|
|
|
; First prototype eink/nrf52840/sx1262 device
|
|
|
|
|
[env:t-echo]
|
|
|
|
|
extends = nrf52840_base
|
|
|
|
|
board = t-echo
|
|
|
|
|
debug_tool = jlink
|
2022-09-15 12:15:16 -05:00
|
|
|
|
2022-01-25 15:56:16 +01:00
|
|
|
# add -DCFG_SYSVIEW if you want to use the Segger systemview tool for OS profiling.
|
2023-05-10 14:14:48 +02:00
|
|
|
build_flags = ${nrf52840_base.build_flags} -Ivariants/t-echo
|
2024-02-09 19:06:56 +01:00
|
|
|
-DGPS_POWER_TOGGLE
|
2023-05-10 14:14:48 +02:00
|
|
|
-L "${platformio.libdeps_dir}/${this.__env__}/BSEC2 Software Library/src/cortex-m4/fpv4-sp-d16-hard"
|
2024-02-29 04:45:15 +13:00
|
|
|
-DEINK_DISPLAY_MODEL=GxEPD2_154_D67
|
|
|
|
|
-DEINK_WIDTH=200
|
|
|
|
|
-DEINK_HEIGHT=200
|
2024-03-09 09:34:53 +13:00
|
|
|
-DUSE_EINK_DYNAMICDISPLAY ; Enable Dynamic EInk
|
2024-03-09 09:57:30 +13:00
|
|
|
-DEINK_LIMIT_FASTREFRESH=20 ; How many consecutive fast-refreshes are permitted
|
2024-03-09 09:34:53 +13:00
|
|
|
-DEINK_LIMIT_RATE_BACKGROUND_SEC=30 ; Minimum interval between BACKGROUND updates
|
|
|
|
|
-DEINK_LIMIT_RATE_RESPONSIVE_SEC=1 ; Minimum interval between RESPONSIVE updates
|
|
|
|
|
-DEINK_LIMIT_GHOSTING_PX=2000 ; (Optional) How much image ghosting is tolerated
|
|
|
|
|
-DEINK_BACKGROUND_USES_FAST ; (Optional) Use FAST refresh for both BACKGROUND and RESPONSIVE, until a limit is reached.
|
2022-05-17 11:14:21 +02:00
|
|
|
build_src_filter = ${nrf52_base.build_src_filter} +<../variants/t-echo>
|
2022-01-25 15:56:16 +01:00
|
|
|
lib_deps =
|
|
|
|
|
${nrf52840_base.lib_deps}
|
2024-03-10 02:11:49 +13:00
|
|
|
https://github.com/meshtastic/GxEPD2
|
2022-10-04 08:40:39 +02:00
|
|
|
adafruit/Adafruit BusIO@^1.13.2
|
2022-10-08 11:09:16 +02:00
|
|
|
lewisxhe/PCF8563_Library@^1.0.1
|
2022-02-25 15:03:52 +02:00
|
|
|
;upload_protocol = fs
|