From 628c9c668705ff4cb086b0e151ac4d72092d06e8 Mon Sep 17 00:00:00 2001 From: livello Date: Tue, 13 Mar 2018 01:06:55 +0300 Subject: [PATCH] pio megaatmega2560 and due compilation fix --- platformio.ini | 79 +-------------------------------- platformio.txt | 118 ++++++++++++++++++++++++++----------------------- 2 files changed, 64 insertions(+), 133 deletions(-) diff --git a/platformio.ini b/platformio.ini index ebaa6d7..8408de8 100644 --- a/platformio.ini +++ b/platformio.ini @@ -1,4 +1,4 @@ -; PlatformIO Project Configuration File (for copy and paste) +; PlatformIO Project Configuration File ; ; Build options: build flags, source filter ; Upload options: custom upload port, speed and extra flags @@ -10,45 +10,6 @@ [platformio] src_dir = lighthub -[env:due] -platform = atmelsam -framework = arduino -board = due -lib_deps = - https://github.com/sebnil/DueFlashStorage -; https://github.com/livello/Arduino-Temperature-Control-Library.git#1306c49 - https://github.com/anklimov/Arduino-Temperature-Control-Library.git - https://github.com/anklimov/DS2482_OneWire - https://github.com/anklimov/DmxDue - 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/Ethernet - https://github.com/PaulStoffregen/SPI.git - https://github.com/knolleary/pubsubclient.git - https://github.com/anklimov/Artnet.git -FastLED - -[env:due-5500] -platform = atmelsam -framework = arduino -board = due -build_flags = -D Wiz5500 -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/arduino-libraries/ArduinoHttpClient - https://github.com/anklimov/aJson - https://github.com/anklimov/CmdArduino - https://github.com/anklimov/ModbusMaster - https://github.com/anklimov/Ethernet2 - https://github.com/PaulStoffregen/SPI.git - https://github.com/knolleary/pubsubclient.git - https://github.com/anklimov/Artnet.git - [env:megaatmega2560] platform = atmelavr board = megaatmega2560 @@ -67,40 +28,4 @@ lib_deps = https://github.com/PaulStoffregen/SPI.git https://github.com/knolleary/pubsubclient.git https://github.com/anklimov/Artnet.git -FastLED - -[env:megaatmega2560-5500] -platform = atmelavr -board = megaatmega2560 -framework = arduino -build_flags = -D Wiz5500 -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/Ethernet2 - https://github.com/PaulStoffregen/SPI.git - https://github.com/knolleary/pubsubclient.git - https://github.com/anklimov/Artnet.git - -[env:espressif8266] -platform = espressif8266 -framework = arduino -board = nodemcuv2 -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 diff --git a/platformio.txt b/platformio.txt index ccab70f..a7b40bb 100644 --- a/platformio.txt +++ b/platformio.txt @@ -9,52 +9,56 @@ ; http://docs.platformio.org/page/projectconf.html [platformio] src_dir = lighthub + [env:due] - platform = atmelsam - framework = arduino - board = due - build_flags = - -D Wiz5500 - ib_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/arduino-libraries/ArduinoHttpClient - https://github.com/anklimov/aJson - https://github.com/anklimov/CmdArduino - https://github.com/anklimov/ModbusMaster - https://github.com/anklimov/Ethernet2 - https://github.com/PaulStoffregen/SPI.git - https://github.com/knolleary/pubsubclient.git - https://github.com/anklimov/Artnet.git - [env:megaatmega2560-5500] - platform = atmelavr - board = megaatmega2560 - framework = arduino - build_flags = -D Wiz5500 - lib_deps = +platform = atmelsam +framework = arduino +board = due +lib_deps = + https://github.com/sebnil/DueFlashStorage +; https://github.com/livello/Arduino-Temperature-Control-Library.git#1306c49 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/DmxDue + 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/Ethernet + https://github.com/PaulStoffregen/SPI.git + https://github.com/knolleary/pubsubclient.git + https://github.com/anklimov/Artnet.git +FastLED + +[env:due-5500] +platform = atmelsam +framework = arduino +board = due +build_flags = -D Wiz5500 +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/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/anklimov/Ethernet2 https://github.com/PaulStoffregen/SPI.git https://github.com/knolleary/pubsubclient.git https://github.com/anklimov/Artnet.git - [env:megaatmega2560] - platform = atmelavr - board = megaatmega2560 - framework = arduino - lib_deps = + +[env:megaatmega2560] +platform = atmelavr +board = megaatmega2560 +framework = arduino +lib_deps = +; https://github.com/livello/Arduino-Temperature-Control-Library.git#1306c49 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/httpClient https://github.com/anklimov/aJson https://github.com/anklimov/CmdArduino https://github.com/anklimov/ModbusMaster @@ -63,31 +67,32 @@ src_dir = lighthub https://github.com/PaulStoffregen/SPI.git https://github.com/knolleary/pubsubclient.git https://github.com/anklimov/Artnet.git + FastLED +[env:megaatmega2560-5500] +platform = atmelavr +board = megaatmega2560 +framework = arduino +build_flags = -D Wiz5500 +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/Ethernet2 + https://github.com/PaulStoffregen/SPI.git + https://github.com/knolleary/pubsubclient.git + https://github.com/anklimov/Artnet.git - [env:due] - platform = atmelsam - framework = arduino - board = due - ib_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/arduino-libraries/ArduinoHttpClient - https://github.com/anklimov/aJson - https://github.com/anklimov/CmdArduino - https://github.com/anklimov/ModbusMaster - https://github.com/anklimov/Ethernet - https://github.com/PaulStoffregen/SPI.git - https://github.com/knolleary/pubsubclient.git - https://github.com/anklimov/Artnet.git - - [env:espressif8266] - platform= espressif8266 - framework = arduino - board = nodemcuv2 - ib_deps = +[env:espressif8266] +platform = espressif8266 +framework = arduino +board = nodemcuv2 +lib_deps = https://github.com/anklimov/Arduino-Temperature-Control-Library.git https://github.com/anklimov/DS2482_OneWire https://github.com/anklimov/ESP-Dmx @@ -98,3 +103,4 @@ src_dir = lighthub https://github.com/anklimov/DMXSerial https://github.com/knolleary/pubsubclient.git https://github.com/anklimov/Artnet.git +