From f74c6f7f5b21ef5927dfd802422b2d3a8805a239 Mon Sep 17 00:00:00 2001 From: Gustavo Henrique Nihei Date: Fri, 22 Oct 2021 12:05:13 -0300 Subject: [PATCH] boards/esp32: Transform SPI Flash FS deps into reverse deps Currently, when no file system is selected, the "choice" lists zero entries, which is very confusing to the user. To handle this, the "choice" options have their dependencies ("depends on") transformed into reverse dependencies ("select"). Signed-off-by: Gustavo Henrique Nihei --- boards/xtensa/esp32/common/Kconfig | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/boards/xtensa/esp32/common/Kconfig b/boards/xtensa/esp32/common/Kconfig index c7e26a38a1f..3051690f142 100644 --- a/boards/xtensa/esp32/common/Kconfig +++ b/boards/xtensa/esp32/common/Kconfig @@ -30,19 +30,19 @@ choice ESP32_SPIFLASH_FS config ESP32_SPIFLASH_SMARTFS bool "SmartFS" - depends on FS_SMARTFS + select FS_SMARTFS config ESP32_SPIFLASH_NXFFS bool "NXFFS" - depends on FS_NXFFS + select FS_NXFFS config ESP32_SPIFLASH_SPIFFS bool "SPIFFS" - depends on FS_SPIFFS + select FS_SPIFFS config ESP32_SPIFLASH_LITTLEFS bool "LittleFS" - depends on FS_LITTLEFS + select FS_LITTLEFS endchoice