|
|
|
; 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
|
|
|
|
; http://docs.platformio.org/page/projectconf.html
|
|
|
|
|
|
|
|
[env:nodemcuv2]
|
|
|
|
platform = https://github.com/platformio/platform-espressif8266.git#feature/stage
|
|
|
|
;platform = espressif8266
|
|
|
|
board = nodemcu
|
|
|
|
framework = arduino
|
|
|
|
board_build.f_cpu = 80000000L
|
|
|
|
board_build.f_flash = 40000000L
|
|
|
|
|
|
|
|
build_flags =
|
|
|
|
-DUSERDEBUG
|
|
|
|
; -DDEBUG_ESP_PORT=Serial
|
|
|
|
; -DDEBUG
|
|
|
|
; -DDEBUG_ESP_SSL
|
|
|
|
; -DDEBUG_ESP_TLS_MEM
|
|
|
|
; -DDEBUG_ESP_HTTP_CLIENT
|
|
|
|
; -D PIO_FRAMEWORK_ARDUINO_LWIP_HIGHER_BANDWIDTH
|
|
|
|
|
|
|
|
lib_deps =
|
|
|
|
ArduinoJson
|
|
|
|
Adafruit BMP085 Library
|
|
|
|
DHT sensor library
|
|
|
|
; SDS011 sensor Library
|
|
|
|
https://github.com/Zanop/SDS011.git#more-sensor-modes
|
|
|
|
EspSoftwareSerial
|
|
|
|
RunningAverage
|
|
|
|
MQTT
|