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:
parent
925e8f9d54
commit
f74c6f7f5b
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue