a cleaner way to add variants - no longer need symlinks in adafruit proj

1.2-legacy
geeksville 2020-08-17 10:23:21 -07:00
rodzic 6b568ab2fb
commit c0307cbcb0
1 zmienionych plików z 6 dodań i 0 usunięć

Wyświetl plik

@ -186,6 +186,9 @@ board = nrf52840_dk
[env:nrf52840dk-geeksville]
extends = nrf52_base
board = nrf52840_dk_modified
# add our variants files to the include and src paths
build_flags = ${nrf52_base.build_flags} -Ivariants/pca10056-rc-clock
src_filter = ${nrf52_base.src_filter} +<../variants/pca10056-rc-clock>
; Note: By default no lora device is created for this build - it uses a simulated interface
[env:feather_nrf52832]
@ -216,6 +219,9 @@ lib_deps =
[env:lora-relay-v1]
extends = nrf52_base
board = lora-relay-v1
# add our variants files to the include and src paths
build_flags = ${nrf52_base.build_flags} -Ivariants/lora_relay_v1
src_filter = ${nrf52_base.src_filter} +<../variants/lora_relay_v1>
lib_deps =
${env.lib_deps}
SparkFun BQ27441 LiPo Fuel Gauge Arduino Library