1
0
mirror of https://github.com/DCC-EX/CommandStation-EX.git synced 2024-11-27 01:56:14 +01:00
CommandStation-EX/platformio.ini

45 lines
1.0 KiB
INI
Raw Normal View History

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
[platformio]
default_envs = samd21, mega2560, mega328
[env]
lib_deps =
https://github.com/davidcutting42/CommandStation.git#master
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
upload_protocol = atmel-ice
2020-05-25 09:43:34 +02:00
lib_deps =
${env.lib_deps}
2020-05-26 11:16:05 +02:00
SparkFun External EEPROM Arduino Library
2020-05-25 09:43:34 +02:00
build_flags = -D ATSAMD21G
[env:mega2560]
platform = atmelavr
board = megaatmega2560
framework = arduino
lib_deps =
${env.lib_deps}
2020-05-26 11:16:05 +02:00
DIO2
build_flags = -D ATMEGA2560
[env:mega328]
platform = atmelavr
board = uno
framework = arduino
lib_deps =
${env.lib_deps}
DIO2
build_flags = -D ATMEGA328