4MB Flash Layout With Dual OTA

This commit is contained in:
dark98
2026-09-03 01:47:01 +01:00
parent 9ab47c76b8
commit c926159a81
2 changed files with 12 additions and 0 deletions
+6
View File
@@ -0,0 +1,6 @@
# Name, Type, SubType, Offset, Size, Flags
nvs, data, nvs, 0x9000, 0x6000,
otadata, data, ota, 0xF000, 0x2000,
phy_init, data, phy, 0x11000, 0x1000,
ota_0, app, ota_0, 0x20000, 0x1E0000,
ota_1, app, ota_1, 0x200000, 0x1E0000,
1 # Name Type SubType Offset Size Flags
2 nvs data nvs 0x9000 0x6000
3 otadata data ota 0xF000 0x2000
4 phy_init data phy 0x11000 0x1000
5 ota_0 app ota_0 0x20000 0x1E0000
6 ota_1 app ota_1 0x200000 0x1E0000
+6
View File
@@ -9,6 +9,12 @@ CONFIG_ESP_DEFAULT_CPU_FREQ_MHZ=160
CONFIG_ESP_CONSOLE_USB_SERIAL_JTAG=y
CONFIG_ESP_CONSOLE_SECONDARY_NONE=y
# 4 MB flash with dual OTA application slots
CONFIG_ESPTOOLPY_FLASHSIZE_4MB=y
CONFIG_ESPTOOLPY_FLASHSIZE="4MB"
CONFIG_PARTITION_TABLE_CUSTOM=y
CONFIG_PARTITION_TABLE_CUSTOM_FILENAME="partitions.csv"
# Wi-Fi station/provisioning support
CONFIG_SYS_WIFI_ENABLED=y