2019-12-29 17:54:12 +00:00
|
|
|
[platformio]
|
2020-06-09 20:57:44 +00:00
|
|
|
extra_configs =
|
|
|
|
factory_settings.ini
|
|
|
|
features.ini
|
2019-12-29 17:54:12 +00:00
|
|
|
default_envs = esp12e
|
|
|
|
;default_envs = node32s
|
2018-11-11 19:56:44 +00:00
|
|
|
|
2019-12-29 17:54:12 +00:00
|
|
|
[env]
|
|
|
|
build_flags=
|
2020-05-19 23:32:49 +00:00
|
|
|
${factory_settings.build_flags}
|
2020-06-09 20:57:44 +00:00
|
|
|
${features.build_flags}
|
2019-12-29 17:54:12 +00:00
|
|
|
-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
|
2020-05-14 22:23:45 +00:00
|
|
|
-D PROGMEM_WWW
|
2019-06-01 18:53:42 +00:00
|
|
|
|
2020-02-19 00:04:57 +00:00
|
|
|
; ensure transitive dependencies are included for correct platforms only
|
|
|
|
lib_compat_mode = strict
|
|
|
|
|
2019-06-01 18:53:42 +00:00
|
|
|
; Uncomment & modify the lines below in order to configure OTA updates
|
2019-06-02 18:01:06 +00:00
|
|
|
;upload_flags =
|
|
|
|
; --port=8266
|
|
|
|
; --auth=esp-react
|
2019-12-29 17:54:12 +00:00
|
|
|
;upload_port = 192.168.0.11
|
|
|
|
|
|
|
|
framework = arduino
|
|
|
|
monitor_speed = 115200
|
|
|
|
|
|
|
|
extra_scripts =
|
2020-05-14 22:23:45 +00:00
|
|
|
pre:scripts/build_interface.py
|
2019-04-07 21:51:08 +00:00
|
|
|
|
2018-02-26 00:11:31 +00:00
|
|
|
lib_deps =
|
2019-04-14 07:52:40 +00:00
|
|
|
ArduinoJson@>=6.0.0,<7.0.0
|
2019-04-24 22:41:24 +00:00
|
|
|
ESP Async WebServer@>=1.2.0,<2.0.0
|
2020-05-14 22:23:45 +00:00
|
|
|
AsyncMqttClient@>=0.8.2,<1.0.0
|
|
|
|
|
2019-12-29 17:54:12 +00:00
|
|
|
[env:esp12e]
|
|
|
|
platform = espressif8266
|
|
|
|
board = esp12e
|
|
|
|
board_build.f_cpu = 160000000L
|
|
|
|
|
|
|
|
[env:node32s]
|
2020-05-14 22:23:45 +00:00
|
|
|
; Comment out min_spiffs.csv setting if disabling PROGMEM_WWW with ESP32
|
|
|
|
board_build.partitions = min_spiffs.csv
|
2019-12-29 17:54:12 +00:00
|
|
|
platform = espressif32
|
|
|
|
board = node32s
|