4
0
mirror of https://github.com/RT-Thread/rt-thread.git synced 2025-01-30 21:30: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,18 +71,19 @@ 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
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
select RT_USING_DFS_ROMFS
select BSP_USING_FS
select RT_USING_SYSTEM_WORKQUEUE
default n
config SDIO_MAX_FREQ
@ -90,7 +91,7 @@ menu "Onboard Peripheral Drivers"
range 0 24000000
depends on BSP_USING_SDCARD
default 1000000
endif
endmenu
endmenu