boards/esp32: Restrict FS options when Flash Encryption is enabled
Some incompatibilities exist between the encryption block of the SPI Flash peripheral and the algorithms of some file systems. LittleFS is currently the only supported file system which is known to work correctly when Flash Encryption is enabled. Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
This commit is contained in:
parent
80da9abd6a
commit
7332053e5c
|
@ -32,14 +32,26 @@ choice ESP32_SPIFLASH_FS
|
|||
bool "SmartFS"
|
||||
select FS_SMARTFS
|
||||
select MTD_SMART
|
||||
depends on !ESP32_SECURE_FLASH_ENC_ENABLED
|
||||
|
||||
comment "SmartFS not supported with Flash Encryption"
|
||||
depends on ESP32_SECURE_FLASH_ENC_ENABLED
|
||||
|
||||
config ESP32_SPIFLASH_NXFFS
|
||||
bool "NXFFS"
|
||||
select FS_NXFFS
|
||||
depends on !ESP32_SECURE_FLASH_ENC_ENABLED
|
||||
|
||||
comment "NXFFS not supported with Flash Encryption"
|
||||
depends on ESP32_SECURE_FLASH_ENC_ENABLED
|
||||
|
||||
config ESP32_SPIFLASH_SPIFFS
|
||||
bool "SPIFFS"
|
||||
select FS_SPIFFS
|
||||
depends on !ESP32_SECURE_FLASH_ENC_ENABLED
|
||||
|
||||
comment "SPIFFS not supported with Flash Encryption"
|
||||
depends on ESP32_SECURE_FLASH_ENC_ENABLED
|
||||
|
||||
config ESP32_SPIFLASH_LITTLEFS
|
||||
bool "LittleFS"
|
||||
|
|
Loading…
Reference in New Issue