config: set default flash size to 4MB

This commit is contained in:
King Kévin 2022-07-24 16:44:51 +02:00
parent 2039c147f4
commit 2a3617658a
2 changed files with 7 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

@ -1,6 +1,11 @@
CONFIG_IDF_TARGET="esp32s2"
CONFIG_IDF_TARGET_ESP32S2=y
#
# Serial flasher config
#
CONFIG_ESPTOOLPY_FLASHSIZE_4MB=y
CONFIG_ESPTOOLPY_FLASHSIZE="4MB"
#
# TinyUSB (with DFU) Stack
#
CONFIG_TINYUSB_DFU=y