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 2021/10/23 09:01:56 UTC
[incubator-nuttx] 03/03: boards/esp32: Select MTD_SMART if SmartFS
is selected for SPI Flash MTD
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 9056cabd8319c53ccba6328c830a2a2505d61f2d
Author: Gustavo Henrique Nihei <gu...@espressif.com>
AuthorDate: Fri Oct 22 12:06:17 2021 -0300
boards/esp32: Select MTD_SMART if SmartFS is selected for SPI Flash MTD
If MTD_SMART is not selected for build, it will result in a build error.
Signed-off-by: Gustavo Henrique Nihei <gu...@espressif.com>
---
boards/xtensa/esp32/common/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/boards/xtensa/esp32/common/Kconfig b/boards/xtensa/esp32/common/Kconfig
index 3051690..72b7913 100644
--- a/boards/xtensa/esp32/common/Kconfig
+++ b/boards/xtensa/esp32/common/Kconfig
@@ -31,6 +31,7 @@ choice ESP32_SPIFLASH_FS
config ESP32_SPIFLASH_SMARTFS
bool "SmartFS"
select FS_SMARTFS
+ select MTD_SMART
config ESP32_SPIFLASH_NXFFS
bool "NXFFS"