conf: set default flash size to 4MB

This commit is contained in:
King Kévin 2022-07-23 13:30:03 +02:00
parent a09f8cd851
commit 89de0061d6
2 changed files with 8 additions and 2 deletions

View File

@ -3,5 +3,5 @@
nvs, data, nvs, , 0x4000,
otadata, data, ota, , 0x2000,
phy_init, data, phy, , 0x1000,
dfu, app, factory, , 200K,
app, app, ota_0, , 1M,
dfu, app, factory, , 222K,
app, app, ota_0, , 3700K,

1 # Name, Type, SubType, Offset, Size, Flags
3 nvs, data, nvs, , 0x4000,
4 otadata, data, ota, , 0x2000,
5 phy_init, data, phy, , 0x1000,
6 dfu, app, factory, , 200K, dfu, app, factory, , 222K,
7 app, app, ota_0, , 1M, app, app, ota_0, , 3700K,

View File

@ -2,6 +2,12 @@ CONFIG_IDF_CMAKE=y
CONFIG_FREERTOS_WATCHPOINT_END_OF_STACK=y
CONFIG_FREERTOS_SUPPORT_STATIC_ALLOCATION=y
#
# Serial flasher config
#
CONFIG_ESPTOOLPY_FLASHSIZE_4MB=y
CONFIG_ESPTOOLPY_FLASHSIZE="4MB"
#
# Partition Table
#