Chapter 4. Software framework
How can I confirm whether ESP-IDF supports a certain flash?
• You can refer to
Optional features for flash
It should be noted that this document only indicates that the ESP-IDF code has supported these flash, but this
flash list is not fully certified by Espressif.
• For further support on flash selection, please contact Espressif.
For the SPI flash connected to ESP32-S3, what is the maximum amount of data that can be written in a
single operation?
• Due to hardware limitations, ESP32-S3 allows a maximum of 64 bytes of data per operation.
4.8.6 SPIFFS Filesystem
Can SPIFFS partition be encrypted?
CHIP: ESP32, ESP32S2, ESP32S3, ESP32C3
• SPIFFS does not provide native disk encryption. However, as SPIFFS is realized based on flash,
the data can be encrypted using flash encryption. Standard encryption libraries such as mbedtls
or OpenSSL can be used to encrypt and decrypt files in SPIFFS. When writing files, the data is
encrypted first, and then written to SPIFFS. When reading files, data is first read from SPIFFS,
and then decrypted using corresponding decryption algorithms.
How do I store the keys and certs of ESP32 devices in SPIFFS?
You can generate an SPIFFS image from files and flash it to the corresponding partition. See
Filesystem
for details.
Can ESP32 mount a SPIFFS file system partition in the external SPI flash?
Yes, this function has been added in ESP-IDF v4.0 and later versions. Please note that when two parti-
tions are mounted to ESP32, it is not permitted for multiple tasks to write files into the same partition
at the same time.
4.8.7 Other Storages
Espressif Systems
to learn more about the flash information supported by ESP-IDF.
115
Submit Document Feedback
SPIFFS
Release master
Need help?
Do you have a question about the ESP and is the answer not in the manual?