SPIFFS partition size limit??
Posted: Sun Dec 29, 2019 3:32 pm
Is there any limit to how big you can make the SPIFFS partition?
I upgraded my project to the new ESP32-WROOM32-D with 128Mbit (16 megabyte) flash chip due to wanting both more program space, and wanting a larger amount of SPIFFS storage.
Im setting it up with 3MB app partitions (OTA), and the remaining as SPIFFS...so that should work out to about 10MB of SPIFFS.
Im using the arduino IDE add-on to compile/upload the SPIFFS image of whatever I put in the sketch "data" folder.
However when I go to compile/upload the image to SPIFFS, when my "data" folder exceeds roughly 7 megabytes (me checking the folder size in windows properties) of files, Arduino gives an error saying "file system is full".
I checked the partition size with parttool.py, and it looks correct (both app partitions show as 0x30000 in size, and the SPIFFS partition shows as 0x9F0000 in size)
Any ideas?
I formatted the partitions as follows:
# Name, Type, SubType, Offset, Size, Flags
nvs, data, nvs, 0x9000, 0x5000,
otadata, data, ota, 0xe000, 0x2000,
app0, app, ota_0, 0x10000, 0x300000,
app1, app, ota_1, 0x310000,0x300000,
spiffs, data, spiffs, 0x610000,0x9F0000,
I upgraded my project to the new ESP32-WROOM32-D with 128Mbit (16 megabyte) flash chip due to wanting both more program space, and wanting a larger amount of SPIFFS storage.
Im setting it up with 3MB app partitions (OTA), and the remaining as SPIFFS...so that should work out to about 10MB of SPIFFS.
Im using the arduino IDE add-on to compile/upload the SPIFFS image of whatever I put in the sketch "data" folder.
However when I go to compile/upload the image to SPIFFS, when my "data" folder exceeds roughly 7 megabytes (me checking the folder size in windows properties) of files, Arduino gives an error saying "file system is full".
I checked the partition size with parttool.py, and it looks correct (both app partitions show as 0x30000 in size, and the SPIFFS partition shows as 0x9F0000 in size)
Any ideas?
I formatted the partitions as follows:
# Name, Type, SubType, Offset, Size, Flags
nvs, data, nvs, 0x9000, 0x5000,
otadata, data, ota, 0xe000, 0x2000,
app0, app, ota_0, 0x10000, 0x300000,
app1, app, ota_1, 0x310000,0x300000,
spiffs, data, spiffs, 0x610000,0x9F0000,