提交 2eefeab2 编写于 作者: G goprife@gmail.com

update app code in simulator

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2421 bbd45198-f89e-11dd-88c7-29a3b14d5316
上级 13d2e4a5
......@@ -43,7 +43,7 @@ void rt_init_thread_entry(void* parameter)
rt_kprintf("fatfs initialzation failed!\n");
#endif
#ifdef RT_USING_DFS_ELMFAT
#ifdef RT_USING_DFS_UFFS
/* mount sd card fat partition 1 as root directory */
if (dfs_mount("nand0", "/nand", "uffs", 0, 0) == 0)
{
......
......@@ -9,11 +9,11 @@ void rt_platform_init(void)
rt_hw_sdcard_init();
#endif
#ifdef RT_USING_MTD_NAND
#if defined(RT_USING_MTD_NAND) && defined(RT_USING_DFS_UFFS)
rt_hw_mtd_nand_init();
#endif
#ifdef RT_USING_MTD_NOR
#if defined(RT_USING_MTD_NOR) && defined(RT_USING_DFS_JFFS2)
sst25vfxx_mtd_init("nor", 0, RT_UINT32_MAX);
#endif
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册