Меняем структуру FS для хранения модулей и добавляем скрипт сборки модулей для интеграции в меню и библиотеки

This commit is contained in:
2022-03-07 11:56:09 +03:00
parent d9e111470a
commit c453a98685
54 changed files with 964 additions and 308 deletions

View File

@@ -1,12 +1,28 @@
; 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
[env:esp8266_4mb]
lib_deps =
${common_env_data.lib_deps_external}
${env:esp8266_4mb_fromitems.lib_deps}
build_flags = -Desp8266_4mb="esp8266_4mb"
framework = arduino
board = nodemcuv2
board_build.ldscript = eagle.flash.4m1m.ld
platform = espressif8266 @2.6.3
monitor_filters = esp8266_exception_decoder
upload_speed = 921600
monitor_speed = 115200
board_build.filesystem = littlefs
[env:esp32_4mb]
lib_deps =
${common_env_data.lib_deps_external}
${env:esp32_4mb_fromitems.lib_deps}
build_flags = -Desp32_4mb="esp32_4mb"
framework = arduino
board = esp32dev
platform = espressif32 @3.3.0
monitor_filters = esp32_exception_decoder
upload_speed = 921600
monitor_speed = 115200
[platformio]
default_envs = esp8266_4mb
@@ -19,51 +35,33 @@ lib_deps_external =
Links2004/WebSockets
knolleary/PubSubClient
[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
[env:esp8266_4mb_fromitems]
lib_deps =
${common_env_data.lib_deps_external}
milesburton/DallasTemperature@^3.9.1
robtillaart/SHT2x@^0.1.1
beegee-tokyo/DHT sensor library for ESPx
adafruit/Adafruit BMP280 Library
adafruit/Adafruit BME280 Library
Adafruit AHTX0
marcoschwartz/LiquidCrystal_I2C@^1.1.4
me-no-dev/ESPAsyncUDP
ClosedCube HDC1080
https://github.com/JonasGMorsch/GY-21.git
adafruit/Adafruit ADS1X15 @ ^2.3.0
adafruit/Adafruit MCP23017 Arduino Library@^2.0.2
adafruit/Adafruit ADS1X15 @ ^2.3.0
Adafruit AHTX0
adafruit/Adafruit BME280 Library
adafruit/Adafruit BMP280 Library
beegee-tokyo/DHT sensor library for ESPx
milesburton/DallasTemperature@^3.9.1
https://github.com/JonasGMorsch/GY-21.git
ClosedCube HDC1080
Nova Fitness Sds dust sensors library@1.5.1
monitor_filters = esp8266_exception_decoder
upload_speed = 921600
monitor_speed = 115200
board_build.filesystem = littlefs
robtillaart/SHT2x@^0.1.1
marcoschwartz/LiquidCrystal_I2C@^1.1.4
[env:esp32_4mb]
build_flags = -Desp32_4mb="esp32_4mb"
framework = arduino
board = esp32dev
platform = espressif32 @3.3.0
[env:esp32_4mb_fromitems]
lib_deps =
${common_env_data.lib_deps_external}
milesburton/DallasTemperature@^3.9.1
robtillaart/SHT2x@^0.1.1
beegee-tokyo/DHT sensor library for ESPx
adafruit/Adafruit BMP280 Library
adafruit/Adafruit BME280 Library
Adafruit AHTX0
marcoschwartz/LiquidCrystal_I2C@^1.1.4
ClosedCube HDC1080
https://github.com/JonasGMorsch/GY-21.git
adafruit/Adafruit ADS1X15 @ ^2.3.0
adafruit/Adafruit MCP23017 Arduino Library@^2.0.2
adafruit/Adafruit ADS1X15 @ ^2.3.0
Adafruit AHTX0
adafruit/Adafruit BME280 Library
adafruit/Adafruit BMP280 Library
beegee-tokyo/DHT sensor library for ESPx
milesburton/DallasTemperature@^3.9.1
https://github.com/JonasGMorsch/GY-21.git
ClosedCube HDC1080
Nova Fitness Sds dust sensors library@1.5.1
monitor_filters = esp32_exception_decoder
upload_speed = 921600
monitor_speed = 115200
robtillaart/SHT2x@^0.1.1
marcoschwartz/LiquidCrystal_I2C@^1.1.4