update app code in simulator

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2421 bbd45198-f89e-11dd-88c7-29a3b14d5316
This commit is contained in:
goprife@gmail.com 2012-11-16 12:21:28 +00:00
parent 13d2e4a5ac
commit 2eefeab242
2 changed files with 3 additions and 3 deletions

View File

@ -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)
{

View File

@ -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