2020-12-08 15:12:15 +00:00
|
|
|
[platformio]
|
|
|
|
extra_configs =
|
|
|
|
factory_settings.ini
|
|
|
|
features.ini
|
|
|
|
default_envs = esp12e
|
|
|
|
;default_envs = node32s
|
|
|
|
|
|
|
|
[env]
|
|
|
|
build_flags=
|
|
|
|
${factory_settings.build_flags}
|
|
|
|
${features.build_flags}
|
|
|
|
-D NO_GLOBAL_ARDUINOOTA
|
|
|
|
; Uncomment ENABLE_CORS to enable Cross-Origin Resource Sharing (required for local React development)
|
|
|
|
;-D ENABLE_CORS
|
|
|
|
;-D CORS_ORIGIN=\"http://localhost:3000\"
|
|
|
|
; Uncomment PROGMEM_WWW to enable the storage of the WWW data in PROGMEM
|
|
|
|
-D PROGMEM_WWW
|
|
|
|
|
|
|
|
; ensure transitive dependencies are included for correct platforms only
|
|
|
|
lib_compat_mode = strict
|
|
|
|
|
|
|
|
; Uncomment & modify the lines below in order to configure OTA updates
|
2020-12-12 15:10:06 +00:00
|
|
|
;upload_flags =
|
|
|
|
; --port=8266
|
|
|
|
; --auth=esp-react
|
|
|
|
; --host_port=14515
|
|
|
|
;upload_port = 192.168.0.230
|
|
|
|
;upload_protocol = espota
|
2020-01-26 14:37:33 +00:00
|
|
|
|
|
|
|
framework = arduino
|
2020-12-08 15:12:15 +00:00
|
|
|
monitor_speed = 115200
|
|
|
|
|
|
|
|
extra_scripts =
|
|
|
|
pre:scripts/build_interface.py
|
|
|
|
|
|
|
|
lib_deps =
|
|
|
|
ArduinoJson@>=6.0.0,<7.0.0
|
|
|
|
ESP Async WebServer@>=1.2.0,<2.0.0
|
|
|
|
AsyncMqttClient@>=0.8.2,<1.0.0
|
|
|
|
bertmelis/DHT@1.0.1
|
|
|
|
|
|
|
|
[env:esp12e]
|
|
|
|
platform = espressif8266
|
|
|
|
board = esp12e
|
|
|
|
board_build.f_cpu = 160000000L
|
|
|
|
board_build.filesystem = littlefs
|
|
|
|
|
|
|
|
[env:node32s]
|
|
|
|
; Comment out min_spiffs.csv setting if disabling PROGMEM_WWW with ESP32
|
|
|
|
board_build.partitions = min_spiffs.csv
|
|
|
|
platform = espressif32
|
|
|
|
board = node32s
|