[add] stm32 SDIO_MAX_FREQ option.If not defined, the default minimum value is 1000000 .
This commit is contained in:
parent
34059c40c4
commit
c4c58a0ead
|
@ -33,9 +33,12 @@
|
|||
#endif /* defined(SOC_SERIES_STM32F1) || defined(SOC_SERIES_STM32F4) */
|
||||
|
||||
#define SDIO_BUFF_SIZE 4096
|
||||
#define SDIO_MAX_FREQ 1000000
|
||||
#define SDIO_ALIGN_LEN 32
|
||||
|
||||
#ifndef SDIO_MAX_FREQ
|
||||
#define SDIO_MAX_FREQ (1000000)
|
||||
#endif
|
||||
|
||||
#ifndef SDIO_BASE_ADDRESS
|
||||
#define SDIO_BASE_ADDRESS (0x40012800U)
|
||||
#endif
|
||||
|
|
|
@ -59,6 +59,12 @@ menu "Onboard Peripheral Drivers"
|
|||
select RT_USING_DFS
|
||||
select RT_USING_DFS_ELMFAT
|
||||
default n
|
||||
if BSP_USING_SDCARD
|
||||
config SDIO_MAX_FREQ
|
||||
int "sdio max freq"
|
||||
range 0 24000000
|
||||
default 1000000
|
||||
endif
|
||||
|
||||
endmenu
|
||||
|
||||
|
|
|
@ -46,6 +46,12 @@ menu "Onboard Peripheral Drivers"
|
|||
select RT_USING_DFS_ELMFAT
|
||||
select RT_USING_PIN
|
||||
default n
|
||||
if BSP_USING_SDCARD
|
||||
config SDIO_MAX_FREQ
|
||||
int "sdio max freq"
|
||||
range 0 24000000
|
||||
default 24000000
|
||||
endif
|
||||
|
||||
config BSP_USING_TOUCH
|
||||
bool "Enable TOUCH"
|
||||
|
|
Loading…
Reference in New Issue