You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
53 lines
1.7 KiB
53 lines
1.7 KiB
; 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@1.7.3
|
|
platform = espressif8266
|
|
board = nodemcu
|
|
framework = arduino
|
|
board_build.f_cpu = 80000000L
|
|
board_build.f_flash = 40000000L
|
|
board_build.flash_mode = dio
|
|
monitor_speed = 115200
|
|
monitor_filters = default, esp8266_exception_decoder
|
|
|
|
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
|
|
-DWIFI_SSID="\"${sysenv.WIFI_SSID}\""
|
|
-DWIFI_PASSWD="\"${sysenv.WIFI_PASSWD}\""
|
|
-DWIFI_SSID2="\"${sysenv.WIFI_SSID2}\""
|
|
-DWIFI_PASSWD2="\"${sysenv.WIFI_PASSWD2}\""
|
|
-DWIFI_SSID3="\"${sysenv.WIFI_SSID3}\""
|
|
-DWIFI_PASSWD3="\"${sysenv.WIFI_PASSWD3}\""
|
|
-DMQTT_BROKER_URI="\"${sysenv.MQTT_BROKER_URI}\""
|
|
-DMQTT_USERNAME="\"${sysenv.MQTT_USERNAME}\""
|
|
-DMQTT_PASSWORD="\"${sysenv.MQTT_PASSWORD}\""
|
|
|
|
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
|
|
256dpi/MQTT
|
|
|