[stm32-stm32f407-atk-explorer] 优化文件系统选项Kconfig

This commit is contained in:
Meco Man 2021-07-31 23:21:40 +08:00
parent 2967da3cdf
commit 0030bde175
1 changed files with 19 additions and 18 deletions

View File

@ -71,18 +71,19 @@ menu "Onboard Peripheral Drivers"
select BSP_USING_I2C1 select BSP_USING_I2C1
select PKG_USING_MPU6XXX select PKG_USING_MPU6XXX
menuconfig BSP_USING_FS menu "Enable File System"
bool "Enable filesystem" config BSP_USING_FS
select RT_USING_DFS bool
select RT_USING_DFS_ROMFS
default n default n
if BSP_USING_FS
config BSP_USING_SDCARD config BSP_USING_SDCARD
bool "Enable SDCARD (FATFS)" bool "Enable SDCARD (FATFS)"
select BSP_USING_SDIO select BSP_USING_SDIO
select RT_USING_DFS select RT_USING_DFS
select RT_USING_DFS_ELMFAT select RT_USING_DFS_ELMFAT
select RT_USING_DFS_ROMFS
select BSP_USING_FS
select RT_USING_SYSTEM_WORKQUEUE
default n default n
config SDIO_MAX_FREQ config SDIO_MAX_FREQ
@ -90,7 +91,7 @@ menu "Onboard Peripheral Drivers"
range 0 24000000 range 0 24000000
depends on BSP_USING_SDCARD depends on BSP_USING_SDCARD
default 1000000 default 1000000
endif endmenu
endmenu endmenu