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
1 changed files with 4 additions and 4 deletions

View File

@ -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