From bf6b3a59d0c297e76dcbeeb7fc8b9ae3eabe79ec Mon Sep 17 00:00:00 2001 From: zewelor Date: Sat, 8 Sep 2018 22:48:31 +0200 Subject: [PATCH] Add basic platformio config --- .gitignore | 9 ++++++++- platformio.ini | 33 +++++++++++++++++++++++++++++++++ 2 files changed, 41 insertions(+), 1 deletion(-) create mode 100644 platformio.ini diff --git a/.gitignore b/.gitignore index c61f8f2..98426ce 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,10 @@ clients/web/node_modules/ - clients/web/\.vscode/ + +.pioenvs +.piolibdeps +lib/readme.txt + +*.h.gch +.clang_complete +.gcc-flags.json diff --git a/platformio.ini b/platformio.ini new file mode 100644 index 0000000..7de905b --- /dev/null +++ b/platformio.ini @@ -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