New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SPIFFS mount fails when flash encryption is enabled (IDFGH-3496) #2001
Comments
SPIFFS is not supported when flash encryption is enabled. You can use FATFS instead |
but the FATFS is only for external SD card not for the onboard storage right ? |
FATFS is supported on the flash as well. https://github.com/espressif/esp-idf/tree/master/examples/storage/wear_levelling it's the wear leveling lib that makes it possible to be used when flash is encrypted. |
Thank you ! Is this also available in the Arduino-Esp32 ? (I didn't find a sketch or a example, yet) |
Spiffs and Preferences work with encryption enanbled. Just didn't have the right partition table on my board |
I do not see how SPIFFS can work with encryption (but I am trying to) if I see:
@Buffalchill Could you elaborate this, please? |
I tried the SPIFFS example while flash encryption was enabled.
the .bin file was encrypted with a pre-generated-key from espsecure.py
and uploaded with the esptool.py
The result was: mount fail. Isn't it possible to use Spiffs if flash encryption is enabled ?
The text was updated successfully, but these errors were encountered: