loboris / ESP32_spiffs_example

Full example of using SPIFFS with ESP32 VFS
72 stars 41 forks source link

readdir generate stack overflow #13

Open davctv opened 6 years ago

davctv commented 6 years ago

Hello Loboris,

I open an issue regarding esp32 and spiffs since I think you could help me. I have opened a thread on esp32.com forum:

https://esp32.com/viewtopic.php?f=13&t=6486

where I explain the problem of using readdir on spiffs if there a "lot of" (i.e. 100 files) and also shared a very simple project to demonstrate the issue

https://github.com/davctv/test_spiffs_crash

I would like to know your opinion about that and if it is a bug of spiffs, vfs of esp32 or what else. This is quite impacting our project since we could you a lot of file (around 1000).

Thanks

davctv commented 6 years ago

Hello loboris,

It seems there is a pull request regarding the issue reported..

https://github.com/espressif/esp-idf/pull/2212