Split platformio.ini into one file for each board, only leaving platform definitions and a handful of stale (?) boards around.. (#1141)

This commit is contained in:
Thomas Göttgens
2022-01-25 08:56:16 -06:00
committed by GitHub
parent eaa5252cdb
commit 409ad9c2c3
23 changed files with 251 additions and 271 deletions
+17
View File
@@ -0,0 +1,17 @@
[env:lora_isp4520]
extends = nrf52_base
board = lora_isp4520
# add our variants files to the include and src paths
build_flags = ${nrf52_base.build_flags} -Ivariants/lora_isp4520
# No screen and GPS on the board. We still need RTC.cpp for the RTC clock.
src_filter = ${nrf52_base.src_filter} +<../variants/lora_isp4520> -<graphics> -<gps> +<gps/GPS.cpp> +<gps/RTC.cpp>
lib_ignore = ${nrf52_base.lib_ignore}
ESP8266_SSD1306
SparkFun Ublox Arduino Library
AXP202X_Library
TinyGPSPlus
upload_protocol = jlink
monitor_port = /dev/ttyUSB0