diff --git a/bsp/at91sam9260/SConscript b/bsp/at91sam9260/SConscript index dd0728fa39..6d598a5bff 100755 --- a/bsp/at91sam9260/SConscript +++ b/bsp/at91sam9260/SConscript @@ -8,7 +8,7 @@ src_drv = ['console.c'] if GetDepend('RT_USING_LED'): src_drv += ['led.c'] -if GetDepend('RT_USING_MMCSD'): +if GetDepend('RT_USING_SDIO'): src_drv += ['at91_mci.c'] if GetDepend('RT_USING_LWIP'): diff --git a/bsp/at91sam9260/application.c b/bsp/at91sam9260/application.c index 7c4c328b01..dbdeae60b5 100755 --- a/bsp/at91sam9260/application.c +++ b/bsp/at91sam9260/application.c @@ -36,7 +36,7 @@ #include #endif -#ifdef RT_USING_MMCSD +#ifdef RT_USING_SDIO #include #include "at91_mci.h" #endif @@ -106,7 +106,7 @@ void rt_init_thread_entry(void* parameter) } #endif -#ifdef RT_USING_MMCSD +#ifdef RT_USING_SDIO rt_mmcsd_core_init(); rt_mmcsd_blk_init(); at91_mci_init(); diff --git a/bsp/at91sam9260/rtconfig.h b/bsp/at91sam9260/rtconfig.h index 293de18a2a..478260cc20 100755 --- a/bsp/at91sam9260/rtconfig.h +++ b/bsp/at91sam9260/rtconfig.h @@ -119,7 +119,7 @@ //#define RT_USING_LED -#define RT_USING_MMCSD +#define RT_USING_SDIO #define RT_USING_DBGU /* #define RT_USING_UART0 */