; PlatformIO Project Configuration File (for copy and paste)
;
;   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
; http://docs.platformio.org/page/projectconf.html
[platformio]
src_dir = lighthub
env_default =
<<<<<<< HEAD
          due-5500
;          controllino
;         megaatmega2560
;         megaatmega2560-5500
;          due
=======
;         megaatmega2560
          due
>>>>>>> 2b56dcd8dd4e7b95e02c88bcbbbdec0a400a6dc4
;         esp8266
[env:due]
platform = atmelsam
framework = arduino
board = due
lib_ldf_mode = chain+
build_flags = !echo -n "-DPIO_SRC_REV="$(git log --pretty=format:%h_%ad -1 --date=short)
lib_deps =
          https://github.com/sebnil/DueFlashStorage
          https://github.com/anklimov/Arduino-Temperature-Control-Library.git
          https://github.com/anklimov/DS2482_OneWire
          https://github.com/anklimov/DmxDue
          https://github.com/anklimov/ArduinoHttpClient
          https://github.com/anklimov/aJson
          https://github.com/anklimov/CmdArduino
          https://github.com/anklimov/ModbusMaster
          https://github.com/anklimov/Ethernet
          https://github.com/anklimov/Ethernet2
          https://github.com/knolleary/pubsubclient.git
          https://github.com/anklimov/Artnet.git
          FastLED
          SD
          SdFat


[env:megaatmega2560]
platform = atmelavr
board = megaatmega2560
framework = arduino
;lib_ldf_mode = chain+
build_flags = !echo -n "-DPIO_SRC_REV="$(git log --pretty=format:%h_%ad -1 --date=short)
lib_deps =
          https://github.com/anklimov/Arduino-Temperature-Control-Library.git
          https://github.com/anklimov/DS2482_OneWire
          https://github.com/anklimov/DmxSimple
          https://github.com/anklimov/httpClient
          https://github.com/anklimov/aJson
          https://github.com/anklimov/CmdArduino
          https://github.com/anklimov/ModbusMaster
          https://github.com/anklimov/DMXSerial
          https://github.com/anklimov/Ethernet
          https://github.com/anklimov/Ethernet2
          https://github.com/PaulStoffregen/SPI.git
          https://github.com/knolleary/pubsubclient.git
          https://github.com/anklimov/Artnet.git
          FastLED
          EEPROM


[env:esp8266]
platform = espressif8266
framework = arduino
board = nodemcuv2
lib_ldf_mode = chain+
build_flags = !echo -n "-DPIO_SRC_REV="$(git log --pretty=format:%h_%ad -1 --date=short)
lib_deps =
          https://github.com/anklimov/Arduino-Temperature-Control-Library.git
          https://github.com/anklimov/DS2482_OneWire
          https://github.com/anklimov/ESP-Dmx
          https://github.com/arduino-libraries/ArduinoHttpClient
          https://github.com/anklimov/aJson
          https://github.com/anklimov/CmdArduino
          https://github.com/anklimov/ModbusMaster
          https://github.com/anklimov/DMXSerial
          https://github.com/knolleary/pubsubclient.git
          https://github.com/anklimov/Artnet.git
          FastLED
