2022-01-25 14:56:16 +00:00
|
|
|
; The https://github.com/BigCorvus/LoRa-BLE-Relay-v2 board by @BigCorvus
|
|
|
|
[env:lora-relay-v2]
|
|
|
|
extends = nrf52840_base
|
|
|
|
board = lora-relay-v2
|
|
|
|
# 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_v2
|
|
|
|
-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
|
|
|
|
-DTFT_WR=ST7735_SDA
|
|
|
|
-DTFT_SCLK=ST7735_SCK
|
2022-05-17 09:14:21 +00:00
|
|
|
build_src_filter = ${nrf52_base.build_src_filter} +<../variants/lora_relay_v2>
|
2022-01-25 14:56:16 +00:00
|
|
|
lib_deps =
|
|
|
|
${nrf52840_base.lib_deps}
|
|
|
|
SparkFun BQ27441 LiPo Fuel Gauge Arduino Library
|
|
|
|
TFT_eSPI
|