You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by xi...@apache.org on 2022/01/01 12:37:53 UTC
[incubator-nuttx] 04/04: esp32c3-devkit: Restrict FS options when Flash Encryption is enabled
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 <gu...@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 <gu...@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"