Page 1 of 1

ESP32-PICO-KIT SPIFFS problems?

Posted: Fri Jan 29, 2021 6:26 am
by brianpdx
Hello,

I've created a 192KB SPIFFS partition on an ESP32-PICO-KIT. After formatting,

Code: Select all

esp_spiffs_info()
says the filesystem size is 173,441 bytes. I then create 74 roughly 2KB files and the filesystem shows the used space as 154,365 bytes, or 89% full.

At this point attempting to create more files fails,

Code: Select all

open(path, O_APPEND|O_CREAT|O_WRONLY)
returns

Code: Select all

ENOENT
.

I don't understand why this is happening. There is approximately 19KB free so it should be able to create a new file.

Are the SPIFFS filesystem limits published somewhere? Is there a limit to the number of files the SPIFFS filesystem can contain?

Does anyone have other ideas as to what might be the cause?

Thank you,

Brian

Re: ESP32-PICO-KIT SPIFFS problems?

Posted: Fri Jan 29, 2021 2:52 pm
by ESP_Minatel
Hi Brian,

Take a look at this thread viewtopic.php?t=12166