mirror of
https://github.com/IoTManagerProject/IoTManager.git
synced 2026-03-26 22:22:16 +03:00
Возможность быстрого переключения прошивок
This commit is contained in:
@@ -8,8 +8,12 @@
|
||||
; Please visit documentation for the other options and examples
|
||||
; https://docs.platformio.org/page/projectconf.html
|
||||
|
||||
;Please use one of definition:
|
||||
;esp8266_1mb , esp8266_4mb , esp32_4mb
|
||||
[platformio]
|
||||
default_envs = esp32
|
||||
default_envs = esp32_4mb
|
||||
|
||||
|
||||
|
||||
[common_env_data]
|
||||
lib_deps_external =
|
||||
@@ -25,42 +29,10 @@ lib_deps_internal =
|
||||
GyverFilters
|
||||
OneWire
|
||||
|
||||
[env:esp32]
|
||||
framework = arduino
|
||||
board = esp32dev
|
||||
;board_build.ldscript = eagle.flash.4m2m.ld
|
||||
platform = https://github.com/platformio/platform-espressif32.git
|
||||
lib_deps =
|
||||
${common_env_data.lib_deps_external}
|
||||
${common_env_data.lib_deps_internal}
|
||||
AsyncTCP
|
||||
madhephaestus/ESP32Servo
|
||||
luc-github/ESP32SSDP
|
||||
CTBot
|
||||
EspSoftwareSerial
|
||||
monitor_filters = esp32_exception_decoder
|
||||
upload_speed = 921600
|
||||
monitor_speed = 115200
|
||||
;board_build.filesystem = littlefs
|
||||
;extra_scripts = ./tools/littlefsbuilder.py
|
||||
|
||||
[env:esp8266_01_1m]
|
||||
framework = arduino
|
||||
board = nodemcuv2
|
||||
board_build.ldscript = eagle.flash.1m256.ld
|
||||
platform = https://github.com/platformio/platform-espressif8266.git
|
||||
lib_deps =
|
||||
${common_env_data.lib_deps_external}
|
||||
${common_env_data.lib_deps_internal}
|
||||
ESPAsyncTCP
|
||||
ESPAsyncUDP
|
||||
EspSoftwareSerial
|
||||
CTBot
|
||||
monitor_filters = esp8266_exception_decoder
|
||||
upload_speed = 921600
|
||||
monitor_speed = 115200
|
||||
|
||||
[env:esp8266]
|
||||
[env:esp8266_4mb]
|
||||
build_flags = -Desp8266_1mb="esp8266_4mb"
|
||||
framework = arduino
|
||||
board = nodemcuv2
|
||||
board_build.ldscript = eagle.flash.4m1m.ld
|
||||
@@ -76,3 +48,48 @@ monitor_filters = esp8266_exception_decoder
|
||||
upload_speed = 921600
|
||||
monitor_speed = 115200
|
||||
board_build.filesystem = littlefs
|
||||
|
||||
|
||||
|
||||
[env:esp8266_1mb]
|
||||
build_flags = -Desp8266_1mb="esp8266_1mb"
|
||||
framework = arduino
|
||||
board = nodemcuv2
|
||||
board_build.ldscript = eagle.flash.1m256.ld
|
||||
platform = https://github.com/platformio/platform-espressif8266.git
|
||||
lib_deps =
|
||||
${common_env_data.lib_deps_external}
|
||||
${common_env_data.lib_deps_internal}
|
||||
ESPAsyncTCP
|
||||
ESPAsyncUDP
|
||||
EspSoftwareSerial
|
||||
CTBot
|
||||
monitor_filters = esp8266_exception_decoder
|
||||
upload_speed = 921600
|
||||
monitor_speed = 115200
|
||||
|
||||
|
||||
|
||||
[env:esp32_4mb]
|
||||
build_flags = -Desp32_4mb="esp32_4mb"
|
||||
framework = arduino
|
||||
board = esp32dev
|
||||
platform = https://github.com/platformio/platform-espressif32.git
|
||||
lib_deps =
|
||||
${common_env_data.lib_deps_external}
|
||||
${common_env_data.lib_deps_internal}
|
||||
AsyncTCP
|
||||
madhephaestus/ESP32Servo
|
||||
luc-github/ESP32SSDP
|
||||
CTBot
|
||||
EspSoftwareSerial
|
||||
monitor_filters = esp32_exception_decoder
|
||||
upload_speed = 921600
|
||||
monitor_speed = 115200
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user