浏览代码

enable UFFS, and modify the uffs options in bsp/simulator

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2557 bbd45198-f89e-11dd-88c7-29a3b14d5316
goprife@gmail.com 12 年之前
父节点
当前提交
a3b5fa5870
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 3 3
      bsp/simulator/rtconfig.h

+ 3 - 3
bsp/simulator/rtconfig.h

@@ -121,12 +121,12 @@
 #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 */
 /* use ecc soft, the uffs will do all the things about ecc */
 /* use ecc soft, the uffs will do all the things about ecc */
-#define RT_CONFIG_UFFS_ECC_MODE  UFFS_ECC_SOFT
+#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 */
-#define RT_UFFS_USE_CHECK_MARK_FUNCITON
+//#define RT_UFFS_USE_CHECK_MARK_FUNCITON
 
 
 /* DFS: uffs nor flash file system options */
 /* DFS: uffs nor flash file system options */
 #define RT_USING_DFS_JFFS2
 #define RT_USING_DFS_JFFS2