diff options
| author | [email protected] <[email protected]> | 2012-12-30 03:24:54 +0000 |
|---|---|---|
| committer | [email protected] <[email protected]> | 2012-12-30 03:24:54 +0000 |
| commit | a3b5fa587080ef442563b37da412336897ff53dd (patch) | |
| tree | e60f6d0ee0d1c5683217b65eef8aaff102213c46 /bsp/simulator/rtconfig.h | |
| parent | fd07f30f511335f506ae6557e300093d4dde421e (diff) | |
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
Diffstat (limited to 'bsp/simulator/rtconfig.h')
| -rw-r--r-- | bsp/simulator/rtconfig.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bsp/simulator/rtconfig.h b/bsp/simulator/rtconfig.h index 0a4e29bac3..ef5a43ea20 100644 --- a/bsp/simulator/rtconfig.h +++ b/bsp/simulator/rtconfig.h @@ -121,12 +121,12 @@ #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 */
/* 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 */
-#define RT_UFFS_USE_CHECK_MARK_FUNCITON
+//#define RT_UFFS_USE_CHECK_MARK_FUNCITON
/* DFS: uffs nor flash file system options */
#define RT_USING_DFS_JFFS2
|
