2021-12-22 14:09:50 +01: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
|
|
|
|
|
|
|
|
|
|
[platformio]
|
2021-12-23 23:47:13 +01:00
|
|
|
default_envs = esp8266_4mb
|
2021-12-22 14:09:50 +01:00
|
|
|
data_dir = data_svelte
|
|
|
|
|
|
|
|
|
|
[common_env_data]
|
|
|
|
|
lib_deps_external =
|
2021-12-22 14:49:25 +01:00
|
|
|
bblanchon/ArduinoJson @6.18.0
|
2021-12-23 00:33:45 +01:00
|
|
|
me-no-dev/ESP Async WebServer
|
2021-12-23 23:47:13 +01:00
|
|
|
Links2004/WebSockets
|
2022-01-10 23:37:21 +01:00
|
|
|
knolleary/PubSubClient
|
2021-12-22 14:09:50 +01:00
|
|
|
|
|
|
|
|
[env:esp8266_4mb]
|
|
|
|
|
build_flags = -Desp8266_4mb="esp8266_4mb"
|
|
|
|
|
framework = arduino
|
|
|
|
|
board = nodemcuv2
|
|
|
|
|
board_build.ldscript = eagle.flash.4m1m.ld
|
|
|
|
|
platform = espressif8266 @2.6.3
|
2021-12-22 14:49:25 +01:00
|
|
|
lib_deps =
|
|
|
|
|
${common_env_data.lib_deps_external}
|
2022-01-17 13:42:48 +03:00
|
|
|
milesburton/DallasTemperature@^3.9.1
|
2022-02-01 14:48:52 +03:00
|
|
|
robtillaart/SHT2x@^0.1.1
|
2022-02-01 22:50:36 +03:00
|
|
|
beegee-tokyo/DHT sensor library for ESPx
|
2021-12-22 14:09:50 +01:00
|
|
|
monitor_filters = esp8266_exception_decoder
|
|
|
|
|
upload_speed = 921600
|
|
|
|
|
monitor_speed = 115200
|
2021-12-23 17:48:01 +01:00
|
|
|
board_build.filesystem = littlefs
|
|
|
|
|
|
|
|
|
|
[env:esp32_4mb]
|
|
|
|
|
build_flags = -Desp32_4mb="esp32_4mb"
|
|
|
|
|
framework = arduino
|
|
|
|
|
board = esp32dev
|
2022-01-17 13:42:48 +03:00
|
|
|
platform = espressif32 @3.3.0
|
2021-12-23 17:48:01 +01:00
|
|
|
lib_deps =
|
|
|
|
|
${common_env_data.lib_deps_external}
|
2022-01-17 13:42:48 +03:00
|
|
|
milesburton/DallasTemperature@^3.9.1
|
2022-02-01 14:48:52 +03:00
|
|
|
robtillaart/SHT2x@^0.1.1
|
2022-02-01 22:50:36 +03:00
|
|
|
beegee-tokyo/DHT sensor library for ESPx
|
2021-12-23 17:48:01 +01:00
|
|
|
monitor_filters = esp32_exception_decoder
|
|
|
|
|
upload_speed = 921600
|
2022-01-17 13:42:48 +03:00
|
|
|
monitor_speed = 115200
|