[update] stm32mp1 wifi sdio.

This commit is contained in:
thread-liu 2021-04-08 15:17:11 +08:00
parent 11c20878c5
commit 219012d75e
1 changed files with 6 additions and 2 deletions

View File

@ -54,7 +54,7 @@ struct rthw_sdio
};
/* SYSRAM SDMMC1/2 accesses */
#define SDCARD_ADDR 0x2FFC0000
#define SDCARD_ADDR 0x2FFFF000
#if defined(__CC_ARM) || defined(__CLANG_ARM)
__attribute__((at(SDCARD_ADDR))) static rt_uint8_t cache_buf[SDIO_BUFF_SIZE];
#elif defined ( __GNUC__ )
@ -579,7 +579,11 @@ int rt_hw_sdio_init(void)
#endif
#ifdef BSP_USING_SDIO2
MX_RTC_Init();
if (IS_ENGINEERING_BOOT_MODE())
{
MX_RTC_Init();
}
LBEE5KL1DX_init();
struct stm32_sdio_des sdio_des2;