|
|
|
; 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:nodemcu]
|
|
|
|
;platform = https://github.com/platformio/platform-espressif8266.git#feature/stage
|
|
|
|
;platform = https://github.com/platformio/platform-espressif8266.git
|
|
|
|
platform = espressif8266
|
|
|
|
board = nodemcu
|
|
|
|
framework = arduino
|
|
|
|
board_build.f_cpu = 80000000L
|
|
|
|
board_build.f_flash = 40000000L
|
|
|
|
board_build.flash_mode = dio
|
|
|
|
monitor_speed = 115200
|
|
|
|
|
|
|
|
build_flags =
|
|
|
|
; -DUSERDEBUG
|
|
|
|
; -DDEBUG_ESP_PORT=Serial
|
|
|
|
; -DDEBUG
|
|
|
|
; -DDEBUG_ESP_SSL
|
|
|
|
; -DDEBUG_ESP_TLS_MEM
|
|
|
|
; -DDEBUG_ESP_HTTP_CLIENT
|
|
|
|
; -DDEBUG_ESP_WIFI
|
|
|
|
; -D PIO_FRAMEWORK_ARDUINO_LWIP_HIGHER_BANDWIDTH
|
|
|
|
|
|
|
|
lib_deps =
|
|
|
|
ArduinoJson
|
|
|
|
Adafruit Unified Sensor
|
|
|
|
Adafruit BMP085 Unified
|
|
|
|
DHT sensor library
|
|
|
|
; SDS011 sensor Library
|
|
|
|
; https://github.com/Zanop/SDS011.git#more-sensor-modes
|
|
|
|
Nova Fitness Sds dust sensors library
|
|
|
|
; EspSoftwareSerial
|
|
|
|
RunningAverage
|
|
|
|
MQTT
|