4
0
mirror of https://github.com/RT-Thread/rt-thread.git synced 2025-01-30 02:40:24 +08:00

Merge pull request #4909 from mysterywolf/407kconfig

[stm32-stm32f407-atk-explorer] 优化文件系统选项Kconfig
This commit is contained in:
Bernard Xiong 2021-08-01 08:57:43 +08:00 committed by GitHub
commit 2fde70e55b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -71,26 +71,27 @@ menu "Onboard Peripheral Drivers"
select BSP_USING_I2C1
select PKG_USING_MPU6XXX
menuconfig BSP_USING_FS
bool "Enable filesystem"
select RT_USING_DFS
select RT_USING_DFS_ROMFS
default n
menu "Enable File System"
config BSP_USING_FS
bool
default n
if BSP_USING_FS
config BSP_USING_SDCARD
bool "Enable SDCARD (FATFS)"
select BSP_USING_SDIO
select RT_USING_DFS
select RT_USING_DFS_ELMFAT
default n
config BSP_USING_SDCARD
bool "Enable SDCARD (FATFS)"
select BSP_USING_SDIO
select RT_USING_DFS
select RT_USING_DFS_ELMFAT
select RT_USING_DFS_ROMFS
select BSP_USING_FS
select RT_USING_SYSTEM_WORKQUEUE
default n
config SDIO_MAX_FREQ
int "sdio max freq"
range 0 24000000
depends on BSP_USING_SDCARD
default 1000000
endif
config SDIO_MAX_FREQ
int "sdio max freq"
range 0 24000000
depends on BSP_USING_SDCARD
default 1000000
endmenu
endmenu