2022-11-27 12:07:37 +03:00
|
|
|
[platformio]
|
2023-04-03 20:40:19 +03:00
|
|
|
default_envs = esp8266_2mb_ota
|
|
|
|
|
data_dir = data_svelte_lite
|
2022-11-27 12:07:37 +03:00
|
|
|
|
|
|
|
|
[common_env_data]
|
|
|
|
|
lib_deps_external =
|
|
|
|
|
bblanchon/ArduinoJson @6.18.0
|
|
|
|
|
knolleary/PubSubClient
|
|
|
|
|
|
2022-10-11 21:57:10 +03:00
|
|
|
[env:esp8266_1mb_ota]
|
|
|
|
|
lib_deps =
|
|
|
|
|
${common_env_data.lib_deps_external}
|
|
|
|
|
${env:esp8266_1mb_ota_fromitems.lib_deps}
|
|
|
|
|
ESPAsyncUDP
|
2022-10-12 15:48:05 +03:00
|
|
|
build_flags = -Desp8266_1mb_ota="esp8266_1mb_ota"
|
2022-10-11 21:57:10 +03:00
|
|
|
framework = arduino
|
|
|
|
|
board = nodemcuv2
|
|
|
|
|
board_build.ldscript = eagle.flash.1m64.ld
|
|
|
|
|
platform = espressif8266 @4.0.1
|
|
|
|
|
monitor_filters = esp8266_exception_decoder
|
|
|
|
|
upload_speed = 921600
|
|
|
|
|
monitor_speed = 115200
|
|
|
|
|
board_build.filesystem = littlefs
|
|
|
|
|
build_src_filter =
|
|
|
|
|
+<*.cpp>
|
|
|
|
|
+<classes/*.cpp>
|
|
|
|
|
+<utils/*.cpp>
|
|
|
|
|
+<modules/*.cpp>
|
|
|
|
|
${env:esp8266_1mb_ota_fromitems.build_src_filter}
|
|
|
|
|
|
|
|
|
|
[env:esp8266_1mb]
|
|
|
|
|
lib_deps =
|
|
|
|
|
${common_env_data.lib_deps_external}
|
|
|
|
|
${env:esp8266_1mb_fromitems.lib_deps}
|
|
|
|
|
ESPAsyncUDP
|
2022-10-12 15:48:05 +03:00
|
|
|
build_flags = -Desp8266_1mb="esp8266_1mb"
|
2022-10-11 21:57:10 +03:00
|
|
|
framework = arduino
|
|
|
|
|
board = nodemcuv2
|
|
|
|
|
board_build.ldscript = eagle.flash.1m256.ld
|
|
|
|
|
platform = espressif8266 @4.0.1
|
|
|
|
|
monitor_filters = esp8266_exception_decoder
|
|
|
|
|
upload_speed = 921600
|
|
|
|
|
monitor_speed = 115200
|
|
|
|
|
board_build.filesystem = littlefs
|
|
|
|
|
build_src_filter =
|
|
|
|
|
+<*.cpp>
|
|
|
|
|
+<classes/*.cpp>
|
|
|
|
|
+<utils/*.cpp>
|
|
|
|
|
+<modules/*.cpp>
|
|
|
|
|
${env:esp8266_1mb_fromitems.build_src_filter}
|
|
|
|
|
|
2022-11-27 12:07:37 +03:00
|
|
|
[env:esp8285_1mb_ota]
|
|
|
|
|
lib_deps =
|
|
|
|
|
${common_env_data.lib_deps_external}
|
|
|
|
|
${env:esp8285_1mb_ota_fromitems.lib_deps}
|
|
|
|
|
ESPAsyncUDP
|
|
|
|
|
build_flags = -Desp8266_1mb_ota="esp8266_1mb_ota"
|
|
|
|
|
framework = arduino
|
|
|
|
|
board = esp8285
|
|
|
|
|
board_build.ldscript = eagle.flash.1m64.ld
|
|
|
|
|
platform = espressif8266 @4.0.1
|
|
|
|
|
monitor_filters = esp8266_exception_decoder
|
|
|
|
|
upload_speed = 921600
|
|
|
|
|
monitor_speed = 115200
|
|
|
|
|
board_build.filesystem = littlefs
|
|
|
|
|
build_src_filter =
|
|
|
|
|
+<*.cpp>
|
|
|
|
|
+<classes/*.cpp>
|
|
|
|
|
+<utils/*.cpp>
|
|
|
|
|
+<modules/*.cpp>
|
|
|
|
|
${env:esp8285_1mb_ota_fromitems.build_src_filter}
|
|
|
|
|
|
2023-04-03 20:40:19 +03:00
|
|
|
[env:esp8266_2mb]
|
|
|
|
|
lib_deps =
|
|
|
|
|
${common_env_data.lib_deps_external}
|
|
|
|
|
${env:esp8266_2mb_fromitems.lib_deps}
|
|
|
|
|
ESPAsyncUDP
|
|
|
|
|
build_flags = -Desp8266_2mb="esp8266_2mb"
|
|
|
|
|
framework = arduino
|
|
|
|
|
board = d1_wroom_02
|
|
|
|
|
board_build.ldscript = eagle.flash.2m1m.ld
|
|
|
|
|
platform = espressif8266
|
|
|
|
|
monitor_filters = esp8266_exception_decoder
|
|
|
|
|
upload_speed = 921600
|
|
|
|
|
monitor_speed = 115200
|
|
|
|
|
board_build.filesystem = littlefs
|
|
|
|
|
build_src_filter =
|
|
|
|
|
+<*.cpp>
|
|
|
|
|
+<classes/*.cpp>
|
|
|
|
|
+<utils/*.cpp>
|
|
|
|
|
+<modules/*.cpp>
|
|
|
|
|
${env:esp8266_2mb_fromitems.build_src_filter}
|
|
|
|
|
|
|
|
|
|
[env:esp8266_2mb_ota]
|
|
|
|
|
lib_deps =
|
|
|
|
|
${common_env_data.lib_deps_external}
|
|
|
|
|
${env:esp8266_2mb_fromitems.lib_deps}
|
|
|
|
|
ESPAsyncUDP
|
|
|
|
|
build_flags = -Desp8266_2mb_ota="esp8266_2mb_ota"
|
|
|
|
|
framework = arduino
|
|
|
|
|
board = d1_wroom_02
|
|
|
|
|
board_build.ldscript = eagle.flash.2m256.ld
|
|
|
|
|
platform = espressif8266
|
|
|
|
|
monitor_filters = esp8266_exception_decoder
|
|
|
|
|
upload_speed = 921600
|
|
|
|
|
monitor_speed = 115200
|
|
|
|
|
board_build.filesystem = littlefs
|
|
|
|
|
build_src_filter =
|
|
|
|
|
+<*.cpp>
|
|
|
|
|
+<classes/*.cpp>
|
|
|
|
|
+<utils/*.cpp>
|
|
|
|
|
+<modules/*.cpp>
|
|
|
|
|
${env:esp8266_2mb_fromitems.build_src_filter}
|
|
|
|
|
|
2022-11-27 12:07:37 +03:00
|
|
|
[env:esp8285_1mb]
|
|
|
|
|
lib_deps =
|
|
|
|
|
${common_env_data.lib_deps_external}
|
|
|
|
|
${env:esp8285_1mb_fromitems.lib_deps}
|
|
|
|
|
ESPAsyncUDP
|
|
|
|
|
build_flags = -Desp8266_1mb="esp8266_1mb"
|
|
|
|
|
framework = arduino
|
|
|
|
|
board = esp8285
|
|
|
|
|
board_build.ldscript = eagle.flash.1m256.ld
|
|
|
|
|
platform = espressif8266 @4.0.1
|
|
|
|
|
monitor_filters = esp8266_exception_decoder
|
|
|
|
|
upload_speed = 921600
|
|
|
|
|
monitor_speed = 115200
|
|
|
|
|
board_build.filesystem = littlefs
|
|
|
|
|
build_src_filter =
|
|
|
|
|
+<*.cpp>
|
|
|
|
|
+<classes/*.cpp>
|
|
|
|
|
+<utils/*.cpp>
|
|
|
|
|
+<modules/*.cpp>
|
|
|
|
|
${env:esp8285_1mb_fromitems.build_src_filter}
|
|
|
|
|
|
2021-12-22 14:09:50 +01:00
|
|
|
[env:esp8266_4mb]
|
2022-03-07 11:56:09 +03:00
|
|
|
lib_deps =
|
|
|
|
|
${common_env_data.lib_deps_external}
|
|
|
|
|
${env:esp8266_4mb_fromitems.lib_deps}
|
2022-03-15 14:03:08 +01:00
|
|
|
ESPAsyncUDP
|
2021-12-22 14:09:50 +01:00
|
|
|
build_flags = -Desp8266_4mb="esp8266_4mb"
|
|
|
|
|
framework = arduino
|
|
|
|
|
board = nodemcuv2
|
|
|
|
|
board_build.ldscript = eagle.flash.4m1m.ld
|
2022-09-14 18:53:02 +02:00
|
|
|
platform = espressif8266 @4.0.1
|
2021-12-22 14:09:50 +01:00
|
|
|
monitor_filters = esp8266_exception_decoder
|
2022-10-07 22:29:12 +02:00
|
|
|
upload_speed = 921600
|
2021-12-22 14:09:50 +01:00
|
|
|
monitor_speed = 115200
|
2021-12-23 17:48:01 +01:00
|
|
|
board_build.filesystem = littlefs
|
2022-08-02 23:32:11 +03:00
|
|
|
build_src_filter =
|
|
|
|
|
+<*.cpp>
|
|
|
|
|
+<classes/*.cpp>
|
|
|
|
|
+<utils/*.cpp>
|
|
|
|
|
+<modules/*.cpp>
|
2022-05-19 09:56:48 +03:00
|
|
|
${env:esp8266_4mb_fromitems.build_src_filter}
|
2021-12-23 17:48:01 +01:00
|
|
|
|
|
|
|
|
[env:esp32_4mb]
|
2022-03-07 11:56:09 +03:00
|
|
|
lib_deps =
|
|
|
|
|
${common_env_data.lib_deps_external}
|
|
|
|
|
${env:esp32_4mb_fromitems.lib_deps}
|
2021-12-23 17:48:01 +01:00
|
|
|
build_flags = -Desp32_4mb="esp32_4mb"
|
|
|
|
|
framework = arduino
|
|
|
|
|
board = esp32dev
|
2022-09-15 14:02:24 +02:00
|
|
|
platform = espressif32 @5.1.1
|
2022-03-07 11:56:09 +03:00
|
|
|
monitor_filters = esp32_exception_decoder
|
2022-10-07 22:29:12 +02:00
|
|
|
upload_speed = 921600
|
2022-03-07 11:56:09 +03:00
|
|
|
monitor_speed = 115200
|
2022-09-05 16:30:59 +03:00
|
|
|
debug_tool = esp-prog
|
2022-09-14 18:06:40 +02:00
|
|
|
board_build.filesystem = littlefs
|
2022-08-02 23:32:11 +03:00
|
|
|
build_src_filter =
|
|
|
|
|
+<*.cpp>
|
|
|
|
|
+<classes/*.cpp>
|
|
|
|
|
+<utils/*.cpp>
|
|
|
|
|
+<modules/*.cpp>
|
2022-05-19 09:56:48 +03:00
|
|
|
${env:esp32_4mb_fromitems.build_src_filter}
|
2022-05-18 15:12:20 +03:00
|
|
|
|
2022-10-11 21:57:10 +03:00
|
|
|
[env:esp8266_1mb_ota_fromitems]
|
|
|
|
|
lib_deps =
|
2023-04-03 20:40:19 +03:00
|
|
|
adafruit/Adafruit BME280 Library
|
2023-03-07 15:59:09 +03:00
|
|
|
adafruit/Adafruit BMP280 Library
|
2023-04-03 20:40:19 +03:00
|
|
|
plerup/espsoftwareserial
|
2022-10-11 21:57:10 +03:00
|
|
|
build_src_filter =
|
2022-11-27 12:07:37 +03:00
|
|
|
+<modules/virtual/Cron>
|
2023-04-03 20:40:19 +03:00
|
|
|
+<modules/virtual/Loging>
|
|
|
|
|
+<modules/virtual/LogingDaily>
|
2022-10-12 15:48:05 +03:00
|
|
|
+<modules/virtual/Timer>
|
|
|
|
|
+<modules/virtual/Variable>
|
2023-03-07 15:59:09 +03:00
|
|
|
+<modules/virtual/VariableColor>
|
2022-10-12 15:48:05 +03:00
|
|
|
+<modules/virtual/VButton>
|
2023-04-03 20:40:19 +03:00
|
|
|
|
|
|
|
|
+<modules/sensors/Bme280>
|
2023-03-07 15:59:09 +03:00
|
|
|
+<modules/sensors/Bmp280>
|
2023-04-03 20:40:19 +03:00
|
|
|
+<modules/sensors/Pzem004t>
|
|
|
|
|
+<modules/sensors/UART>
|
2022-10-12 15:48:05 +03:00
|
|
|
+<modules/exec/TelegramLT>
|
2022-10-11 21:57:10 +03:00
|
|
|
|
|
|
|
|
[env:esp8266_1mb_fromitems]
|
|
|
|
|
lib_deps =
|
2022-12-07 22:30:38 +01:00
|
|
|
adafruit/Adafruit BME280 Library
|
2022-12-07 18:20:41 +01:00
|
|
|
adafruit/Adafruit BMP280 Library
|
2023-04-03 20:40:19 +03:00
|
|
|
plerup/espsoftwareserial
|
2022-10-11 21:57:10 +03:00
|
|
|
build_src_filter =
|
2022-11-27 12:07:37 +03:00
|
|
|
+<modules/virtual/Cron>
|
2023-04-03 20:40:19 +03:00
|
|
|
+<modules/virtual/Loging>
|
|
|
|
|
+<modules/virtual/LogingDaily>
|
2022-11-27 12:07:37 +03:00
|
|
|
+<modules/virtual/Timer>
|
|
|
|
|
+<modules/virtual/Variable>
|
2023-04-03 20:40:19 +03:00
|
|
|
+<modules/virtual/VariableColor>
|
2022-11-27 12:07:37 +03:00
|
|
|
+<modules/virtual/VButton>
|
2022-12-07 18:20:41 +01:00
|
|
|
+<modules/sensors/Bme280>
|
|
|
|
|
+<modules/sensors/Bmp280>
|
2023-04-03 20:40:19 +03:00
|
|
|
+<modules/sensors/Pzem004t>
|
|
|
|
|
+<modules/sensors/UART>
|
2022-11-27 12:07:37 +03:00
|
|
|
+<modules/exec/ButtonIn>
|
|
|
|
|
+<modules/exec/ButtonOut>
|
|
|
|
|
+<modules/exec/TelegramLT>
|
2023-04-03 20:40:19 +03:00
|
|
|
|
|
|
|
|
[env:esp8266_2mb_fromitems]
|
|
|
|
|
lib_deps =
|
|
|
|
|
plerup/EspSoftwareSerial
|
|
|
|
|
build_src_filter =
|
|
|
|
|
+<modules/virtual/Cron>
|
|
|
|
|
+<modules/virtual/Loging>
|
|
|
|
|
+<modules/virtual/LogingDaily>
|
|
|
|
|
+<modules/virtual/Timer>
|
|
|
|
|
+<modules/virtual/Variable>
|
|
|
|
|
+<modules/virtual/VariableColor>
|
|
|
|
|
+<modules/virtual/VButton>
|
|
|
|
|
+<modules/sensors/Pzem004t>
|
|
|
|
|
+<modules/sensors/UART>
|
|
|
|
|
+<modules/exec/TelegramLT>
|
|
|
|
|
|
|
|
|
|
[env:esp8266_2mb_ota_fromitems]
|
|
|
|
|
lib_deps =
|
|
|
|
|
plerup/EspSoftwareSerial
|
|
|
|
|
build_src_filter =
|
|
|
|
|
+<modules/virtual/Cron>
|
|
|
|
|
+<modules/virtual/Loging>
|
|
|
|
|
+<modules/virtual/LogingDaily>
|
|
|
|
|
+<modules/virtual/Timer>
|
|
|
|
|
+<modules/virtual/Variable>
|
|
|
|
|
+<modules/virtual/VariableColor>
|
|
|
|
|
+<modules/virtual/VButton>
|
|
|
|
|
+<modules/sensors/Pzem004t>
|
|
|
|
|
+<modules/sensors/UART>
|
|
|
|
|
+<modules/exec/TelegramLT>
|
2022-11-27 12:07:37 +03:00
|
|
|
|
|
|
|
|
[env:esp8285_1mb_ota_fromitems]
|
|
|
|
|
lib_deps =
|
|
|
|
|
milesburton/DallasTemperature@^3.9.1
|
|
|
|
|
adafruit/Adafruit MCP23017 Arduino Library@^2.1.0
|
|
|
|
|
adafruit/Adafruit BusIO @ ^1.13.2
|
|
|
|
|
adafruit/Adafruit BusIO @ ^1.13.2
|
|
|
|
|
marcoschwartz/LiquidCrystal_I2C@^1.1.4
|
|
|
|
|
build_src_filter =
|
|
|
|
|
+<modules/virtual/Cron>
|
|
|
|
|
+<modules/virtual/Timer>
|
|
|
|
|
+<modules/virtual/Variable>
|
|
|
|
|
+<modules/virtual/VButton>
|
|
|
|
|
+<modules/sensors/Ds18b20>
|
|
|
|
|
+<modules/sensors/Sonar>
|
|
|
|
|
+<modules/exec/ButtonIn>
|
|
|
|
|
+<modules/exec/ButtonOut>
|
|
|
|
|
+<modules/exec/Mcp23017>
|
|
|
|
|
+<modules/exec/Multitouch>
|
|
|
|
|
+<modules/exec/Pcf8574>
|
|
|
|
|
+<modules/exec/Pwm8266>
|
|
|
|
|
+<modules/exec/TelegramLT>
|
|
|
|
|
+<modules/display/Lcd2004>
|
|
|
|
|
|
|
|
|
|
[env:esp8285_1mb_fromitems]
|
|
|
|
|
lib_deps =
|
2022-12-07 22:30:38 +01:00
|
|
|
adafruit/Adafruit BME280 Library
|
|
|
|
|
adafruit/Adafruit BMP280 Library
|
2022-11-27 12:07:37 +03:00
|
|
|
milesburton/DallasTemperature@^3.9.1
|
2022-12-07 22:30:38 +01:00
|
|
|
robtillaart/SHT2x@^0.1.1
|
|
|
|
|
WEMOS SHT3x@1.0.0
|
2022-11-27 12:07:37 +03:00
|
|
|
adafruit/Adafruit MCP23017 Arduino Library@^2.1.0
|
|
|
|
|
adafruit/Adafruit BusIO @ ^1.13.2
|
|
|
|
|
adafruit/Adafruit BusIO @ ^1.13.2
|
|
|
|
|
marcoschwartz/LiquidCrystal_I2C@^1.1.4
|
|
|
|
|
build_src_filter =
|
|
|
|
|
+<modules/virtual/Cron>
|
2022-10-12 15:48:05 +03:00
|
|
|
+<modules/virtual/Timer>
|
|
|
|
|
+<modules/virtual/Variable>
|
|
|
|
|
+<modules/virtual/VButton>
|
2022-12-07 22:30:38 +01:00
|
|
|
+<modules/sensors/AnalogAdc>
|
|
|
|
|
+<modules/sensors/Bme280>
|
|
|
|
|
+<modules/sensors/Bmp280>
|
2022-10-12 15:48:05 +03:00
|
|
|
+<modules/sensors/Ds18b20>
|
2022-12-07 22:30:38 +01:00
|
|
|
+<modules/sensors/Sht20>
|
|
|
|
|
+<modules/sensors/Sht30>
|
2022-10-12 15:48:05 +03:00
|
|
|
+<modules/sensors/Sonar>
|
|
|
|
|
+<modules/exec/ButtonIn>
|
|
|
|
|
+<modules/exec/ButtonOut>
|
|
|
|
|
+<modules/exec/Mcp23017>
|
2022-11-27 12:07:37 +03:00
|
|
|
+<modules/exec/Multitouch>
|
2022-10-12 15:48:05 +03:00
|
|
|
+<modules/exec/Pcf8574>
|
|
|
|
|
+<modules/exec/Pwm8266>
|
|
|
|
|
+<modules/exec/TelegramLT>
|
|
|
|
|
+<modules/display/Lcd2004>
|
2022-10-11 21:57:10 +03:00
|
|
|
|
2022-03-07 11:56:09 +03:00
|
|
|
[env:esp8266_4mb_fromitems]
|
2021-12-23 17:48:01 +01:00
|
|
|
lib_deps =
|
2023-03-28 09:15:43 +03:00
|
|
|
plerup/EspSoftwareSerial
|
2022-05-19 09:56:48 +03:00
|
|
|
build_src_filter =
|
2022-10-31 19:33:01 +03:00
|
|
|
+<modules/virtual/Cron>
|
2022-10-05 21:07:49 +03:00
|
|
|
+<modules/virtual/Loging>
|
|
|
|
|
+<modules/virtual/LogingDaily>
|
|
|
|
|
+<modules/virtual/Timer>
|
|
|
|
|
+<modules/virtual/Variable>
|
2022-12-26 13:04:52 +03:00
|
|
|
+<modules/virtual/VariableColor>
|
2022-10-05 21:07:49 +03:00
|
|
|
+<modules/virtual/VButton>
|
|
|
|
|
+<modules/sensors/Pzem004t>
|
|
|
|
|
+<modules/sensors/UART>
|
|
|
|
|
+<modules/exec/TelegramLT>
|
2022-03-07 11:56:09 +03:00
|
|
|
|
|
|
|
|
[env:esp32_4mb_fromitems]
|
|
|
|
|
lib_deps =
|
2022-08-09 13:11:13 +03:00
|
|
|
adafruit/Adafruit BME280 Library
|
|
|
|
|
adafruit/Adafruit BMP280 Library
|
2023-02-19 19:11:15 +03:00
|
|
|
https://github.com/tremaru/iarduino_RTC
|
2023-03-28 09:15:43 +03:00
|
|
|
plerup/EspSoftwareSerial
|
2022-05-19 09:56:48 +03:00
|
|
|
build_src_filter =
|
2022-11-26 21:00:20 +01:00
|
|
|
+<modules/virtual/Cron>
|
2022-10-11 22:33:42 +02:00
|
|
|
+<modules/virtual/Loging>
|
|
|
|
|
+<modules/virtual/LogingDaily>
|
|
|
|
|
+<modules/virtual/Timer>
|
|
|
|
|
+<modules/virtual/Variable>
|
2023-02-19 19:11:15 +03:00
|
|
|
+<modules/virtual/VariableColor>
|
2022-10-11 22:33:42 +02:00
|
|
|
+<modules/virtual/VButton>
|
|
|
|
|
+<modules/sensors/Bme280>
|
|
|
|
|
+<modules/sensors/Bmp280>
|
|
|
|
|
+<modules/sensors/Pzem004t>
|
2023-02-19 19:11:15 +03:00
|
|
|
+<modules/sensors/RTC>
|
2022-10-11 22:33:42 +02:00
|
|
|
+<modules/sensors/UART>
|
|
|
|
|
+<modules/exec/ButtonIn>
|
|
|
|
|
+<modules/exec/ButtonOut>
|
|
|
|
|
+<modules/exec/TelegramLT>
|
2022-03-07 11:56:09 +03:00
|
|
|
|