Browse Source

mingw support for simulator: dfs/uffs

prife 12 years ago
parent
commit
2106287efe
1 changed files with 2 additions and 2 deletions
  1. 2 2
      bsp/simulator/rtconfig.h

+ 2 - 2
bsp/simulator/rtconfig.h

@@ -101,7 +101,7 @@
 
 
 /* SECTION: MTD interface options */
 /* SECTION: MTD interface options */
 /* using mtd nand flash */
 /* using mtd nand flash */
-/* #define RT_USING_MTD_NAND */
+#define RT_USING_MTD_NAND
 /* using mtd nor flash */
 /* using mtd nor flash */
 /* #define RT_USING_MTD_NOR */
 /* #define RT_USING_MTD_NOR */
 
 
@@ -131,7 +131,7 @@
 /* #define RT_USING_DFS_NFS */
 /* #define RT_USING_DFS_NFS */
 
 
 /* DFS: UFFS nand file system options */
 /* 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 */
 /* configuration for uffs, more to see dfs_uffs.h and uffs_config.h */
 #define RT_CONFIG_UFFS_ECC_MODE  UFFS_ECC_HW_AUTO
 #define RT_CONFIG_UFFS_ECC_MODE  UFFS_ECC_HW_AUTO
 /* enable this ,you need provide a mark_badblock/check_block function */
 /* enable this ,you need provide a mark_badblock/check_block function */