Add basic platformio config

This commit is contained in:
zewelor 2018-09-08 22:48:31 +02:00
parent 172d93443d
commit bf6b3a59d0
2 changed files with 41 additions and 1 deletions

9
.gitignore vendored
View file

@ -1,3 +1,10 @@
clients/web/node_modules/
clients/web/\.vscode/
.pioenvs
.piolibdeps
lib/readme.txt
*.h.gch
.clang_complete
.gcc-flags.json

33
platformio.ini Normal file
View file

@ -0,0 +1,33 @@
; 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]
src_dir = ./Arduino/McLighting/
[env:esp01_1m]
board = esp01_1m
framework = arduino
platform = espressif8266@1.8.0
build_flags =
-DPIO_FRAMEWORK_ARDUINO_LWIP2_HIGHER_BANDWIDTH
monitor_speed = 115200
board_build.flash_mode = dout
upload_speed = 115200
upload_resetmethod = nodemcu
lib_deps =
WiFiManager@0.14
AsyncMqttClient
https://github.com/bblanchon/ArduinoJson.git#v6.1.0-beta
WS2812FX
WebSockets