This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git

commit cff2bc05e0e58c09a5b657f71b2ef561f6befe80
Author: Gustavo Henrique Nihei <gustavo.ni...@espressif.com>
AuthorDate: Thu Dec 30 11:56:40 2021 -0300

    esp32c3-devkit: Restrict FS options when Flash Encryption is enabled
    
    Signed-off-by: Gustavo Henrique Nihei <gustavo.ni...@espressif.com>
---
 boards/risc-v/esp32c3/esp32c3-devkit/Kconfig | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/boards/risc-v/esp32c3/esp32c3-devkit/Kconfig 
b/boards/risc-v/esp32c3/esp32c3-devkit/Kconfig
index 1712a03..feb8269 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"

Reply via email to