Your new topic does not fit any of the above??? Check first. Then post here. Thanks.

Moderator: igrr

User avatar
By igrr
#32323 SPIFFS API requires temporary storage for open files to be pre-allocated when initializing the library. Currently we have the maximum number of open files (5 files) hard-coded at the end of spiffs_api.c, in SPIFFSImpl s_defaultFS object initializer.
Regarding writes to the media, according to spiffs docs[1], with SPIFFS_CACHE and SPIFFS_CACHE_WR enabled as in our build, writes may be cached and performed when the file is closed.

[1] https://github.com/pellepl/spiffs/wiki/Using-spiffs#do-i-need-to-check-result-after-spiffs_close