[bsp][stm32] SD card micro BSP_USING_SDCARD

This commit is contained in:
SummerGift 2018-12-18 14:07:38 +08:00
parent 9cd881bf05
commit cf7292d4e4
4 changed files with 8 additions and 8 deletions

View File

@ -10,7 +10,7 @@
#include <rtthread.h>
#ifdef RT_USING_DFS
#ifdef BSP_USING_SDCARD
#include <dfs_elm.h>
#include <dfs_fs.h>
@ -61,5 +61,5 @@ int stm32_sdcard_mount(void)
}
INIT_APP_EXPORT(stm32_sdcard_mount);
#endif
#endif /* BSP_USING_SDCARD */

View File

@ -10,7 +10,7 @@
#include <rtthread.h>
#ifdef RT_USING_DFS
#ifdef BSP_USING_SDCARD
#include <dfs_elm.h>
#include <dfs_fs.h>
@ -61,5 +61,5 @@ int stm32_sdcard_mount(void)
}
INIT_APP_EXPORT(stm32_sdcard_mount);
#endif
#endif /* BSP_USING_SDCARD */

View File

@ -10,7 +10,7 @@
#include <rtthread.h>
#ifdef RT_USING_DFS
#ifdef BSP_USING_SDCARD
#include <dfs_elm.h>
#include <dfs_fs.h>
@ -72,5 +72,5 @@ int stm32_sdcard_mount(void)
}
INIT_APP_EXPORT(stm32_sdcard_mount);
#endif
#endif /* BSP_USING_SDCARD */

View File

@ -10,7 +10,7 @@
#include <rtthread.h>
#ifdef RT_USING_DFS
#ifdef BSP_USING_SDCARD
#include <dfs_elm.h>
#include <dfs_fs.h>
@ -71,5 +71,5 @@ static int rt_hw_spi1_tfcard(void)
}
INIT_DEVICE_EXPORT(rt_hw_spi1_tfcard);
#endif
#endif /* BSP_USING_SDCARD */