2022-01-25 14:56:16 +00:00
|
|
|
; The https://github.com/BigCorvus/SX1262-LoRa-BLE-Relay board by @BigCorvus
|
|
|
|
[env:lora-relay-v1]
|
|
|
|
extends = nrf52840_base
|
|
|
|
board = lora-relay-v1
|
|
|
|
# add our variants files to the include and src paths
|
|
|
|
# define build flags for the TFT_eSPI library
|
|
|
|
build_flags = ${nrf52840_base.build_flags} -Ivariants/lora_relay_v1
|
|
|
|
-DUSER_SETUP_LOADED
|
|
|
|
-DTFT_WIDTH=80
|
|
|
|
-DTFT_HEIGHT=160
|
|
|
|
-DST7735_GREENTAB160x80
|
|
|
|
-DST7735_DRIVER
|
|
|
|
-DTFT_CS=ST7735_CS
|
|
|
|
-DTFT_DC=ST7735_RS
|
|
|
|
-DTFT_RST=ST7735_RESET
|
|
|
|
-DSPI_FREQUENCY=27000000
|
2022-05-17 09:14:21 +00:00
|
|
|
build_src_filter = ${nrf52_base.build_src_filter} +<../variants/lora_relay_v1>
|
2022-01-25 14:56:16 +00:00
|
|
|
lib_deps =
|
|
|
|
${nrf52840_base.lib_deps}
|
2022-10-04 06:40:39 +00:00
|
|
|
sparkfun/SparkFun BQ27441 LiPo Fuel Gauge Arduino Library@^1.1.0
|
|
|
|
bodmer/TFT_eSPI@^2.4.76
|