use 16MB flash

This commit is contained in:
MageDelfador 2025-10-12 15:27:18 +08:00
parent c165ae4838
commit cea1fba101
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, 1M,
part0, 0x40, 0x1, 0x200000, 14M,

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, 1M, part0, 0x40, 0x1, 0x200000, 14M,
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_4MB=y
CONFIG_ESPTOOLPY_FLASHSIZE_16MB=y
CONFIG_WL_SECTOR_SIZE_512=y
CONFIG_WL_SECTOR_MODE_PERF=y
COMPILER_OPTIMIZATION="Performance"