Partition Table Error In Spiffs File System
Posted: Tue Nov 05, 2024 1:56 pm
Hey,
I was testing spiffs example on ESP32, the original example app is working fine. No i want to deploy it along with another component is around 21MB in size, that component is working fine in another example other than spiffs. Now, when i add that module in spiffs example the error occurs that app partition is too small for binary. I changed the partition table but don't know what steps to take after that to fix the issue.
I have tried following things :
1. Tried to increase the Size in partition table like 25MB.
2. On build, logs suggested to modify serial flasher config, i changed flash size from 2M to 32MB.
3. Then i build and flashed the app on esp32 and got the following error:
Here is the partition table
Can any one provide step by step guide to solve this.
I was testing spiffs example on ESP32, the original example app is working fine. No i want to deploy it along with another component is around 21MB in size, that component is working fine in another example other than spiffs. Now, when i add that module in spiffs example the error occurs that app partition is too small for binary. I changed the partition table but don't know what steps to take after that to fix the issue.
I have tried following things :
1. Tried to increase the Size in partition table like 25MB.
2. On build, logs suggested to modify serial flasher config, i changed flash size from 2M to 32MB.
3. Then i build and flashed the app on esp32 and got the following error:
Code: Select all
E (88) flash_parts: partition 2 invalid - offset 0x10000 size 0x200000 exceeds flash chip size 0x200000
Code: Select all
Espressif ESP32 Partition Table
Name Type SubType Offset Size Flags
nvs data nvs 0x9000 0x6000
phy_init data phy 0xf000 0x1000
factory app factory 0x250000 2M
storage data spiffs 1500k