diff --git a/bsp/simulator/rtconfig.h b/bsp/simulator/rtconfig.h index 79c90eb1e9..7c18106f3b 100755 --- a/bsp/simulator/rtconfig.h +++ b/bsp/simulator/rtconfig.h @@ -101,7 +101,7 @@ /* SECTION: MTD interface options */ /* using mtd nand flash */ -/* #define RT_USING_MTD_NAND */ +#define RT_USING_MTD_NAND /* using mtd nor flash */ /* #define RT_USING_MTD_NOR */ @@ -131,7 +131,7 @@ /* #define RT_USING_DFS_NFS */ /* DFS: UFFS nand file system options */ -/* #define RT_USING_DFS_UFFS */ +#define RT_USING_DFS_UFFS /* configuration for uffs, more to see dfs_uffs.h and uffs_config.h */ #define RT_CONFIG_UFFS_ECC_MODE UFFS_ECC_HW_AUTO /* enable this ,you need provide a mark_badblock/check_block function */