rykovv / spiffs_circular_queue

ESP-IDF and PlatformIO compatible library for a circular queue or circular FIFO buffer over SPIFFS.
https://rykovv.github.io/spiffs_circular_queue/
MIT License
12 stars 4 forks source link

E (29) SPIFFS: spiffs partition could not be found #5

Open Adichip opened 1 year ago

Adichip commented 1 year ago

Good morning dear, the library seems to be spectacular, we are trying to implement it in a device where we need to store data when we lose connection to a mqtt server but when trying to test the examples we find the following error:

E (29) SPIFFS: spiffs partition could not be found

We have uploaded the image several times on two different models, on a 16Mb esp32 using the CSV file and on a 4Mb esp32 using only Arduino but we can't get it to work.

Do you have any instructions to format the flash and make it suitable to use your library?

Thank you very much for your time and dedication in this bookstore.

Kind regards.

rykovv commented 1 year ago

Hi @Adichip,

My apology for the delay.

Can you copy-paste your ESP32 CSV partition file here? I'll take a look. Are you using pure ESP-IDE for compiling? What's your IDE for ESP32?

I'm running it using PlatformIO VS Code extension. Find, below, platformio.ini file content:

[env:esp32doit-devkit-v1]
platform = espressif32
board = esp32doit-devkit-v1
framework = arduino

There are no special instructions for formatting the flash. The most important precondition is to have SPIFFS partition configured. PlatformIO's environment takes care of that by default.

Let me know how it goes. I'll try to help as much as I can.

Regards,