4MB Flash Layout With Dual OTA
This commit is contained in:
@@ -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,
|
||||||
|
@@ -9,6 +9,12 @@ CONFIG_ESP_DEFAULT_CPU_FREQ_MHZ=160
|
|||||||
CONFIG_ESP_CONSOLE_USB_SERIAL_JTAG=y
|
CONFIG_ESP_CONSOLE_USB_SERIAL_JTAG=y
|
||||||
CONFIG_ESP_CONSOLE_SECONDARY_NONE=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
|
# Wi-Fi station/provisioning support
|
||||||
CONFIG_SYS_WIFI_ENABLED=y
|
CONFIG_SYS_WIFI_ENABLED=y
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user