From 89de0061d6d26ecca37a005b1733994c382f216b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?King=20K=C3=A9vin?= Date: Sat, 23 Jul 2022 13:30:03 +0200 Subject: [PATCH] conf: set default flash size to 4MB --- examples/device/dfu_freertos/partitions.csv | 4 ++-- examples/device/dfu_freertos/sdkconfig.defaults | 6 ++++++ 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/examples/device/dfu_freertos/partitions.csv b/examples/device/dfu_freertos/partitions.csv index fc9a91e2b..02d493a82 100644 --- a/examples/device/dfu_freertos/partitions.csv +++ b/examples/device/dfu_freertos/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/examples/device/dfu_freertos/sdkconfig.defaults b/examples/device/dfu_freertos/sdkconfig.defaults index 7586326df..6b08bdc94 100644 --- a/examples/device/dfu_freertos/sdkconfig.defaults +++ b/examples/device/dfu_freertos/sdkconfig.defaults @@ -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 #