2018-09-08 22:48:31 +02:00
|
|
|
; 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/
|
2018-11-06 17:13:59 +01:00
|
|
|
data_dir = ./Arduino/McLighting/data/
|
2018-09-16 22:09:30 +02:00
|
|
|
env_default = nodemcuv2
|
|
|
|
description = The ESP8266 based multi-client lighting gadget
|
|
|
|
|
|
|
|
[common]
|
|
|
|
build_flags =
|
|
|
|
-DPIO_FRAMEWORK_ARDUINO_LWIP2_HIGHER_BANDWIDTH
|
2018-12-11 16:30:31 +01:00
|
|
|
-DMQTT_MAX_PACKET_SIZE=2048 ; PubSubClient Specific flags
|
|
|
|
-w ; supress all warnings
|
2018-09-16 22:09:30 +02:00
|
|
|
monitor_speed = 115200
|
|
|
|
board_build.flash_mode = dout
|
|
|
|
upload_speed = 115200
|
|
|
|
upload_resetmethod = nodemcu
|
|
|
|
|
2018-09-08 22:48:31 +02:00
|
|
|
|
|
|
|
[env:esp01_1m]
|
|
|
|
board = esp01_1m
|
|
|
|
framework = arduino
|
|
|
|
platform = espressif8266@1.8.0
|
2018-09-16 22:09:30 +02:00
|
|
|
build_flags = ${common.build_flags} -D D1=2
|
|
|
|
monitor_speed = ${common.monitor_speed}
|
|
|
|
upload_speed = ${common.upload_speed}
|
|
|
|
upload_resetmethod = ${common.upload_resetmethod}
|
|
|
|
board_build.flash_mode = dout
|
2018-09-08 22:48:31 +02:00
|
|
|
|
2018-09-16 22:09:30 +02:00
|
|
|
[env:nodemcuv2]
|
|
|
|
board = nodemcuv2
|
|
|
|
framework = arduino
|
|
|
|
platform = espressif8266@1.8.0
|
|
|
|
build_flags = ${common.build_flags}
|
|
|
|
monitor_speed = ${common.monitor_speed}
|
|
|
|
upload_speed = ${common.upload_speed}
|
|
|
|
upload_resetmethod = ${common.upload_resetmethod}
|
2018-09-08 22:48:31 +02:00
|
|
|
|
|
|
|
lib_deps =
|
|
|
|
WiFiManager@0.14
|
|
|
|
AsyncMqttClient
|
2018-12-16 15:01:22 +01:00
|
|
|
https://github.com/bblanchon/ArduinoJson.git#v6.7.0-beta
|
2018-09-08 22:48:31 +02:00
|
|
|
WS2812FX
|
2018-09-16 22:09:30 +02:00
|
|
|
NeoPixelBus
|
2018-09-08 22:48:31 +02:00
|
|
|
WebSockets
|