Merge pull request #230 from zewelor/add_platformio_config
Add basic platformio config
This commit is contained in:
commit
6dc87a4a0a
2 changed files with 41 additions and 1 deletions
9
.gitignore
vendored
9
.gitignore
vendored
|
@ -1,3 +1,10 @@
|
||||||
clients/web/node_modules/
|
clients/web/node_modules/
|
||||||
|
|
||||||
clients/web/\.vscode/
|
clients/web/\.vscode/
|
||||||
|
|
||||||
|
.pioenvs
|
||||||
|
.piolibdeps
|
||||||
|
lib/readme.txt
|
||||||
|
|
||||||
|
*.h.gch
|
||||||
|
.clang_complete
|
||||||
|
.gcc-flags.json
|
||||||
|
|
33
platformio.ini
Normal file
33
platformio.ini
Normal 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
|
Loading…
Reference in a new issue