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-27 00:19:42 +02:00
|
|
|
default_envs =
|
|
|
|
mega2560
|
|
|
|
uno
|
2020-07-18 14:24:29 +02:00
|
|
|
src_dir = .
|
2020-05-25 12:56:03 +02:00
|
|
|
|
|
|
|
[env]
|
2020-08-27 00:19:42 +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-08-27 00:19:42 +02:00
|
|
|
${env.lib_deps}
|
|
|
|
SparkFun External EEPROM Arduino Library
|
2020-09-27 11:03:05 +02:00
|
|
|
monitor_speed = 115200
|
|
|
|
monitor_flags = --echo
|
2020-05-25 09:43:34 +02:00
|
|
|
|
|
|
|
[env:mega2560]
|
|
|
|
platform = atmelavr
|
|
|
|
board = megaatmega2560
|
|
|
|
framework = arduino
|
|
|
|
lib_deps =
|
2020-08-27 00:19:42 +02:00
|
|
|
${env.lib_deps}
|
|
|
|
DIO2
|
2020-09-26 21:06:27 +02:00
|
|
|
arduino-libraries/Ethernet
|
2020-09-26 22:52:13 +02:00
|
|
|
SPI
|
2020-12-17 23:33:29 +01:00
|
|
|
marcoschwartz/LiquidCrystal_I2C
|
2020-12-27 21:43:05 +01:00
|
|
|
Adafruit/Adafruit_BusIO
|
|
|
|
Adafruit/Adafruit_SSD1306
|
|
|
|
Adafruit/Adafruit-GFX-Library
|
2021-01-23 23:25:26 +01:00
|
|
|
PaulStoffregen/TimerOne
|
2020-09-27 11:03:05 +02:00
|
|
|
monitor_speed = 115200
|
|
|
|
monitor_flags = --echo
|
2020-05-26 11:16:05 +02:00
|
|
|
|
|
|
|
[env:mega328]
|
|
|
|
platform = atmelavr
|
|
|
|
board = uno
|
|
|
|
framework = arduino
|
|
|
|
lib_deps =
|
2020-08-27 00:19:42 +02:00
|
|
|
${env.lib_deps}
|
|
|
|
DIO2
|
2020-09-26 23:46:28 +02:00
|
|
|
arduino-libraries/Ethernet
|
|
|
|
SPI
|
2020-12-17 23:33:29 +01:00
|
|
|
marcoschwartz/LiquidCrystal_I2C
|
2021-01-23 23:25:26 +01:00
|
|
|
PaulStoffregen/TimerOne
|
2020-09-27 11:03:05 +02:00
|
|
|
monitor_speed = 115200
|
|
|
|
monitor_flags = --echo
|
2020-08-15 08:11:28 +02:00
|
|
|
|
|
|
|
[env:unowifiR2]
|
|
|
|
platform = atmelmegaavr
|
|
|
|
board = uno_wifi_rev2
|
|
|
|
framework = arduino
|
2020-09-19 02:02:56 +02:00
|
|
|
lib_deps =
|
|
|
|
${env.lib_deps}
|
|
|
|
DIO2
|
2020-09-26 23:46:28 +02:00
|
|
|
arduino-libraries/Ethernet
|
|
|
|
SPI
|
2020-12-17 23:33:29 +01:00
|
|
|
marcoschwartz/LiquidCrystal_I2C
|
2021-01-27 22:35:17 +01:00
|
|
|
WifiNINA
|
2020-09-27 11:03:05 +02:00
|
|
|
monitor_speed = 115200
|
|
|
|
monitor_flags = --echo
|
2021-01-27 22:35:17 +01:00
|
|
|
board_build.extra_flags = -DARDUINO_AVR_UNO_WIFI_REV2 -DMILLIS_USE_TIMERB3 -DARDUINO=10813
|
|
|
|
unbuild_flags = -DARDUINO=10808
|
2021-01-24 00:50:03 +01:00
|
|
|
|
|
|
|
[env:nanoevery]
|
|
|
|
platform = atmelmegaavr
|
|
|
|
board = nano_every
|
|
|
|
framework = arduino
|
|
|
|
lib_deps =
|
|
|
|
${env.lib_deps}
|
|
|
|
DIO2
|
|
|
|
arduino-libraries/Ethernet
|
|
|
|
SPI
|
|
|
|
marcoschwartz/LiquidCrystal_I2C
|
|
|
|
monitor_speed = 115200
|
|
|
|
monitor_flags = --echo
|
2021-01-27 22:35:17 +01:00
|
|
|
board_build.extra_flags = -DARDUINO_AVR_NANO_EVERY -DMILLIS_USE_TIMERB3 -DNO_EXTERNAL_I2C_PULLUP -DARDUINO=10813
|
2020-08-27 00:19:42 +02:00
|
|
|
|
|
|
|
[env:uno]
|
|
|
|
platform = atmelavr
|
|
|
|
board = uno
|
|
|
|
framework = arduino
|
2020-09-19 02:02:56 +02:00
|
|
|
lib_deps =
|
|
|
|
${env.lib_deps}
|
|
|
|
DIO2
|
2020-09-26 23:46:28 +02:00
|
|
|
arduino-libraries/Ethernet
|
|
|
|
SPI
|
2020-12-17 23:33:29 +01:00
|
|
|
marcoschwartz/LiquidCrystal_I2C
|
2021-01-23 23:25:26 +01:00
|
|
|
PaulStoffregen/TimerOne
|
2020-09-27 11:03:05 +02:00
|
|
|
monitor_speed = 115200
|
|
|
|
monitor_flags = --echo
|