[stm32-stm32f407-atk-explorer] 优化文件系统选项Kconfig
This commit is contained in:
parent
2967da3cdf
commit
0030bde175
|
@ -71,26 +71,27 @@ 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
|
||||||
default n
|
select BSP_USING_FS
|
||||||
|
select RT_USING_SYSTEM_WORKQUEUE
|
||||||
|
default n
|
||||||
|
|
||||||
config SDIO_MAX_FREQ
|
config SDIO_MAX_FREQ
|
||||||
int "sdio max freq"
|
int "sdio max freq"
|
||||||
range 0 24000000
|
range 0 24000000
|
||||||
depends on BSP_USING_SDCARD
|
depends on BSP_USING_SDCARD
|
||||||
default 1000000
|
default 1000000
|
||||||
endif
|
endmenu
|
||||||
|
|
||||||
endmenu
|
endmenu
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue