mirror of
https://github.com/IoTManagerProject/IoTManager.git
synced 2026-03-30 20:09:14 +03:00
add castom partition for esp32
This commit is contained in:
6
esp32_partitions.csv
Normal file
6
esp32_partitions.csv
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
# Name, Type, SubType, Offset, Size, Flags
|
||||||
|
nvs, data, nvs, 0x9000, 0x5000,
|
||||||
|
otadata, data, ota, 0xe000, 0x2000,
|
||||||
|
app0, app, ota_0, 0x10000, 0x140000,
|
||||||
|
app1, app, ota_1, 0x150000,0x140000,
|
||||||
|
spiffs, data, spiffs, 0x290000,0x170000,
|
||||||
|
@@ -1,6 +0,0 @@
|
|||||||
# Name, Type, SubType, Offset, Size, Flags
|
|
||||||
ota_0, app, ota_0, 0x10000, 0x1A0000
|
|
||||||
ota_1, app, ota_1, , 0x1A0000
|
|
||||||
otadata, data, ota, 0x350000, 0x2000
|
|
||||||
nvs, data, nvs, , 0x6000
|
|
||||||
data, data, spiffs, , 0xA8000
|
|
||||||
|
@@ -92,7 +92,7 @@ board_build.filesystem = littlefs
|
|||||||
build_flags = -Desp32_4mb="esp32_4mb"
|
build_flags = -Desp32_4mb="esp32_4mb"
|
||||||
framework = arduino
|
framework = arduino
|
||||||
board = esp32dev
|
board = esp32dev
|
||||||
platform = espressif32 @3.3.0
|
platform = espressif32 @3.4.0
|
||||||
lib_deps =
|
lib_deps =
|
||||||
${common_env_data.lib_deps_external}
|
${common_env_data.lib_deps_external}
|
||||||
${common_env_data.lib_deps_internal}
|
${common_env_data.lib_deps_internal}
|
||||||
@@ -111,6 +111,7 @@ lib_deps =
|
|||||||
monitor_filters = esp32_exception_decoder
|
monitor_filters = esp32_exception_decoder
|
||||||
upload_speed = 921600
|
upload_speed = 921600
|
||||||
monitor_speed = 115200
|
monitor_speed = 115200
|
||||||
|
board_build.partitions = esp32_partitions.csv
|
||||||
|
|
||||||
[env:esp32_mysensors_4mb]
|
[env:esp32_mysensors_4mb]
|
||||||
build_flags = -Desp32_mysensors_4mb="esp32_mysensors_4mb"
|
build_flags = -Desp32_mysensors_4mb="esp32_mysensors_4mb"
|
||||||
|
|||||||
Reference in New Issue
Block a user