ESP32_spiffs_example icon indicating copy to clipboard operation
ESP32_spiffs_example copied to clipboard

readdir generate stack overflow

Open davctv opened this issue 7 years ago • 1 comments

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 avatar Jul 20 '18 21:07 davctv

Hello loboris,

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

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

davctv avatar Jul 22 '18 09:07 davctv