From 5e9dbd59de3e2a899252f9849621f925c70649a7 Mon Sep 17 00:00:00 2001 From: MageDelfador <9780339+MageDelfador@users.noreply.github.com> Date: Tue, 14 Oct 2025 20:09:55 +0800 Subject: [PATCH] Revert "use 16MB flash" --- config/esp32/partitions.csv | 2 +- sdkconfig.defaults | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/config/esp32/partitions.csv b/config/esp32/partitions.csv index 96956e8..9fae82f 100755 --- a/config/esp32/partitions.csv +++ b/config/esp32/partitions.csv @@ -4,4 +4,4 @@ nvs, data, nvs, 0x9000, 0x6000 phy_init, data, phy, 0xf000, 0x1000 factory, app, factory, 0x10000, 1M, -part0, 0x40, 0x1, 0x200000, 14M, encrypted +part0, 0x40, 0x1, 0x200000, 1M, encrypted diff --git a/sdkconfig.defaults b/sdkconfig.defaults index 8982635..4086232 100755 --- a/sdkconfig.defaults +++ b/sdkconfig.defaults @@ -8,7 +8,7 @@ CONFIG_TINYUSB=y CONFIG_PARTITION_TABLE_CUSTOM=y CONFIG_PARTITION_TABLE_CUSTOM_FILENAME="config/esp32/partitions.csv" CONFIG_PARTITION_TABLE_FILENAME="config/esp32/partitions.csv" -CONFIG_ESPTOOLPY_FLASHSIZE_16MB=y +CONFIG_ESPTOOLPY_FLASHSIZE_4MB=y CONFIG_WL_SECTOR_SIZE_512=y CONFIG_WL_SECTOR_MODE_PERF=y COMPILER_OPTIMIZATION="Performance"