Revert "use 16MB flash"

This commit is contained in:
MageDelfador 2025-10-14 20:09:55 +08:00
parent 4177dba166
commit 5e9dbd59de
2 changed files with 2 additions and 2 deletions

View file

@ -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

1 # Name, Type, SubType, Offset, Size, Flags
4 phy_init, data, phy, 0xf000, 0x1000
5 factory, app, factory, 0x10000, 1M,
6 part0, 0x40, 0x1, 0x200000, 14M, encrypted part0, 0x40, 0x1, 0x200000, 1M, encrypted
7

View file

@ -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"