2020-05-25 09:43:34 +02:00
|
|
|
; PlatformIO Project Configuration File
|
|
|
|
;
|
|
|
|
; Build options: build flags, source filter
|
|
|
|
; Upload options: custom upload port, speed and extra flags
|
|
|
|
; Library options: dependencies, extra library storages
|
|
|
|
; Advanced options: extra scripting
|
|
|
|
;
|
|
|
|
; Please visit documentation for the other options and examples
|
|
|
|
; https://docs.platformio.org/page/projectconf.html
|
|
|
|
|
2020-05-25 12:56:03 +02:00
|
|
|
[platformio]
|
2020-08-15 08:11:28 +02:00
|
|
|
default_envs = samd21, mega2560, mega328, unowifiR2
|
2020-07-18 14:24:29 +02:00
|
|
|
src_dir = .
|
2020-05-25 12:56:03 +02:00
|
|
|
|
|
|
|
[env]
|
|
|
|
lib_deps =
|
2020-08-14 19:59:03 +02:00
|
|
|
https://github.com/DCC-EX/DCC-EX-Lib.git#master
|
2020-05-25 12:56:03 +02:00
|
|
|
https://github.com/davidcutting42/ArduinoTimers.git#master
|
2020-05-26 11:16:05 +02:00
|
|
|
|
2020-05-25 09:43:34 +02:00
|
|
|
[env:samd21]
|
|
|
|
platform = atmelsam
|
|
|
|
board = sparkfun_samd21_dev_usb
|
|
|
|
framework = arduino
|
2020-05-25 12:56:03 +02:00
|
|
|
upload_protocol = atmel-ice
|
2020-05-25 09:43:34 +02:00
|
|
|
lib_deps =
|
2020-05-25 12:56:03 +02:00
|
|
|
${env.lib_deps}
|
2020-05-26 11:16:05 +02:00
|
|
|
SparkFun External EEPROM Arduino Library
|
2020-05-25 09:43:34 +02:00
|
|
|
|
|
|
|
[env:mega2560]
|
|
|
|
platform = atmelavr
|
|
|
|
board = megaatmega2560
|
|
|
|
framework = arduino
|
|
|
|
lib_deps =
|
2020-05-25 12:56:03 +02:00
|
|
|
${env.lib_deps}
|
2020-05-26 11:16:05 +02:00
|
|
|
DIO2
|
|
|
|
|
|
|
|
[env:mega328]
|
|
|
|
platform = atmelavr
|
|
|
|
board = uno
|
|
|
|
framework = arduino
|
|
|
|
lib_deps =
|
|
|
|
${env.lib_deps}
|
2020-08-15 08:11:28 +02:00
|
|
|
DIO2
|
|
|
|
|
|
|
|
[env:unowifiR2]
|
|
|
|
platform = atmelmegaavr
|
|
|
|
board = uno_wifi_rev2
|
|
|
|
framework = arduino
|
|
|
|
lib_deps =
|
|
|
|
${env.lib_deps}
|