2020-06-17 23:30:48 +03: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
|
|
|
|
|
|
2020-06-20 14:27:58 +03:00
|
|
|
[platformio]
|
|
|
|
|
default_envs = esp8266
|
2020-06-19 02:31:56 +02:00
|
|
|
|
2020-06-20 14:27:58 +03:00
|
|
|
[env]
|
|
|
|
|
framework = arduino
|
2020-06-18 23:43:06 +02:00
|
|
|
|
2020-06-20 14:27:58 +03:00
|
|
|
[env:esp32]
|
2020-06-21 03:43:15 +03:00
|
|
|
platform = https://github.com/platformio/platform-espressif32.git
|
|
|
|
|
build_flags = ${env.build_flags} -D=${PIOENV}
|
2020-06-21 12:23:00 +03:00
|
|
|
extra_scripts = ./tools/littlefsbuilder.py
|
2020-06-17 23:30:48 +03:00
|
|
|
board = esp32dev
|
2020-06-20 14:27:58 +03:00
|
|
|
board_build.partitions = partitions_custom.csv
|
|
|
|
|
monitor_filters = esp32_exception_decoder
|
2020-06-19 13:30:44 +02:00
|
|
|
monitor_speed = 115200
|
2020-06-20 14:27:58 +03:00
|
|
|
lib_deps =
|
|
|
|
|
ModuleInterface@3.5.1
|
|
|
|
|
ArduinoJson@5.*
|
|
|
|
|
ESP32Servo
|
|
|
|
|
Bounce2
|
|
|
|
|
PubSubClient
|
|
|
|
|
ESP8266-StringCommand
|
|
|
|
|
DallasTemperature
|
|
|
|
|
DHT sensor library for ESPx
|
|
|
|
|
Adafruit BMP280 Library
|
|
|
|
|
Adafruit BME280 Library
|
2020-06-17 23:30:48 +03:00
|
|
|
|
2020-06-20 14:27:58 +03:00
|
|
|
[env:esp8266]
|
2020-06-21 03:43:15 +03:00
|
|
|
platform = https://github.com/platformio/platform-espressif8266.git
|
|
|
|
|
build_flags = ${env.build_flags} -D=${PIOENV}
|
2020-06-20 14:27:58 +03:00
|
|
|
board = nodemcuv2
|
|
|
|
|
monitor_filters = esp8266_exception_decoder
|
|
|
|
|
monitor_speed = 115200
|
|
|
|
|
lib_deps =
|
|
|
|
|
ModuleInterface@3.5.1
|
|
|
|
|
ArduinoJson@5.*
|
|
|
|
|
ESPAsyncTCP
|
|
|
|
|
Bounce2
|
|
|
|
|
PubSubClient
|
|
|
|
|
ESP8266-StringCommand
|
|
|
|
|
DallasTemperature
|
|
|
|
|
DHT sensor library for ESPx
|
|
|
|
|
Adafruit BMP280 Library
|
|
|
|
|
Adafruit BME280 Library
|