Merge pull request #230 from zewelor/add_platformio_config

Add basic platformio config
This commit is contained in:
Tobias Blum 2018-09-16 22:06:42 +02:00 committed by GitHub
commit 6dc87a4a0a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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