Merge pull request #3 from livello/master

platformio support
This commit is contained in:
2018-03-07 19:27:01 +03:00
committed by GitHub
4 changed files with 33 additions and 3 deletions

View File

@@ -21,7 +21,7 @@ e-mail anklimov@gmail.com
#include "inputs.h"
#include "aJSON.h"
#include "item.h"
#include <PubSubClient2.h>
#include <PubSubClient.h>
extern PubSubClient client;

View File

@@ -41,7 +41,7 @@ e-mail anklimov@gmail.com
#endif
#include <ModbusMaster.h>
#include <PubSubClient2.h>
#include <PubSubClient.h>
#define dimPar SERIAL_8E1
#define fmPar SERIAL_8N1

View File

@@ -62,7 +62,7 @@ Config webserver
#include "options.h"
#include <Ethernet.h>
#include <PubSubClient2.h>
#include <PubSubClient.h>
#include <SPI.h>
#include "utils.h"

30
platformio.ini Normal file
View File

@@ -0,0 +1,30 @@
; 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
; http://docs.platformio.org/page/projectconf.html
[platformio]
src_dir = lighthub
[env:megaatmega2560]
platform = atmelavr
board = megaatmega2560
framework = arduino
lib_deps =
https://github.com/livello/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
126
https://github.com/PaulStoffregen/SPI.git
https://github.com/knolleary/pubsubclient.git
https://github.com/natcl/Artnet.git