diff --git a/boards/risc-v/esp32c3/esp32c3-devkit/Kconfig b/boards/risc-v/esp32c3/esp32c3-devkit/Kconfig index 1712a030b52..feb82692f20 100644 --- a/boards/risc-v/esp32c3/esp32c3-devkit/Kconfig +++ b/boards/risc-v/esp32c3/esp32c3-devkit/Kconfig @@ -84,14 +84,26 @@ choice ESP32C3_SPIFLASH_FS bool "SmartFS" select FS_SMARTFS select MTD_SMART + depends on !ESP32C3_SECURE_FLASH_ENC_ENABLED + + comment "SmartFS not supported with Flash Encryption" + depends on ESP32C3_SECURE_FLASH_ENC_ENABLED config ESP32C3_SPIFLASH_NXFFS bool "NXFFS" select FS_NXFFS + depends on !ESP32C3_SECURE_FLASH_ENC_ENABLED + + comment "NXFFS not supported with Flash Encryption" + depends on ESP32C3_SECURE_FLASH_ENC_ENABLED config ESP32C3_SPIFLASH_SPIFFS bool "SPIFFS" select FS_SPIFFS + depends on !ESP32C3_SECURE_FLASH_ENC_ENABLED + + comment "SPIFFS not supported with Flash Encryption" + depends on ESP32C3_SECURE_FLASH_ENC_ENABLED config ESP32C3_SPIFLASH_LITTLEFS bool "LittleFS"