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 <gustavo.nihei@espressif.com>
This commit is contained in:
Gustavo Henrique Nihei
2021-10-22 12:05:13 -03:00
committed by Xiang Xiao
parent 925e8f9d54
commit f74c6f7f5b
+4 -4
View File
@@ -30,19 +30,19 @@ choice ESP32_SPIFLASH_FS
config ESP32_SPIFLASH_SMARTFS config ESP32_SPIFLASH_SMARTFS
bool "SmartFS" bool "SmartFS"
depends on FS_SMARTFS select FS_SMARTFS
config ESP32_SPIFLASH_NXFFS config ESP32_SPIFLASH_NXFFS
bool "NXFFS" bool "NXFFS"
depends on FS_NXFFS select FS_NXFFS
config ESP32_SPIFLASH_SPIFFS config ESP32_SPIFLASH_SPIFFS
bool "SPIFFS" bool "SPIFFS"
depends on FS_SPIFFS select FS_SPIFFS
config ESP32_SPIFLASH_LITTLEFS config ESP32_SPIFLASH_LITTLEFS
bool "LittleFS" bool "LittleFS"
depends on FS_LITTLEFS select FS_LITTLEFS
endchoice endchoice