mirror of
https://github.com/IoTManagerProject/IoTManager.git
synced 2026-03-30 03:49:13 +03:00
Добавляем поддержку esp8285
This commit is contained in:
114
platformio.ini
114
platformio.ini
@@ -1,3 +1,12 @@
|
||||
[platformio]
|
||||
default_envs = esp8266_4mb
|
||||
data_dir = data_svelte
|
||||
|
||||
[common_env_data]
|
||||
lib_deps_external =
|
||||
bblanchon/ArduinoJson @6.18.0
|
||||
knolleary/PubSubClient
|
||||
|
||||
[env:esp8266_1mb_ota]
|
||||
lib_deps =
|
||||
${common_env_data.lib_deps_external}
|
||||
@@ -40,6 +49,48 @@ build_src_filter =
|
||||
+<modules/*.cpp>
|
||||
${env:esp8266_1mb_fromitems.build_src_filter}
|
||||
|
||||
[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}
|
||||
|
||||
[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}
|
||||
|
||||
[env:esp8266_4mb]
|
||||
lib_deps =
|
||||
${common_env_data.lib_deps_external}
|
||||
@@ -82,33 +133,24 @@ build_src_filter =
|
||||
+<modules/*.cpp>
|
||||
${env:esp32_4mb_fromitems.build_src_filter}
|
||||
|
||||
[platformio]
|
||||
default_envs = esp8266_4mb
|
||||
data_dir = data_svelte
|
||||
|
||||
[common_env_data]
|
||||
lib_deps_external =
|
||||
bblanchon/ArduinoJson @6.18.0
|
||||
knolleary/PubSubClient
|
||||
|
||||
[env:esp8266_1mb_ota_fromitems]
|
||||
lib_deps =
|
||||
milesburton/DallasTemperature@^3.9.1
|
||||
rc-switch @ ^2.6.4
|
||||
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/RCswitch>
|
||||
+<modules/sensors/Sonar>
|
||||
+<modules/exec/ButtonIn>
|
||||
+<modules/exec/ButtonOut>
|
||||
+<modules/exec/Mcp23017>
|
||||
+<modules/exec/Multitouch>
|
||||
+<modules/exec/Pcf8574>
|
||||
+<modules/exec/Pwm8266>
|
||||
+<modules/exec/TelegramLT>
|
||||
@@ -117,21 +159,67 @@ build_src_filter =
|
||||
[env:esp8266_1mb_fromitems]
|
||||
lib_deps =
|
||||
milesburton/DallasTemperature@^3.9.1
|
||||
rc-switch @ ^2.6.4
|
||||
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/RCswitch>
|
||||
+<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_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 =
|
||||
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>
|
||||
|
||||
Reference in New Issue
Block a user