From 2a3617658ae07c3638d7e09e85290a8a6091395b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?King=20K=C3=A9vin?= Date: Sun, 24 Jul 2022 16:44:51 +0200 Subject: [PATCH] config: set default flash size to 4MB --- partitions.csv | 4 ++-- sdkconfig.defaults | 5 +++++ 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/partitions.csv b/partitions.csv index fc9a91e..02d493a 100644 --- a/partitions.csv +++ b/partitions.csv @@ -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, diff --git a/sdkconfig.defaults b/sdkconfig.defaults index 858ccdb..8f0d81b 100644 --- a/sdkconfig.defaults +++ b/sdkconfig.defaults @@ -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