Chapter 4. Software framework
How can I conrm whether ESP-IDF supports a certain ash?
• You can refer to Optional features for ash to learn more about the ash information supported by ESP-IDF.
It should be noted that this document only indicates that the ESP-IDF code has supported these ash, but this
ash list is not fully certied by Espressif.
• For further support on ash selection, please contact Espressif.
For the SPI ash 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 ash,
the data can be encrypted using ash encryption. Standard encryption libraries such as mbedtls
or OpenSSL can be used to encrypt and decrypt les in SPIFFS. When writing les, the data is
encrypted rst, and then written to SPIFFS. When reading les, data is rst 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 les and ash it to the corresponding partition. See SPIFFS
Filesystem for details.
Can ESP32 mount a SPIFFS le system partition in the external SPI ash?
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 les into the same partition
at the same time.
4.8.7 Other Storages
Espressif Systems 115
Submit Document Feedback
Release master