diff options
| author | [email protected] <[email protected]> | 2012-12-02 14:32:01 +0000 |
|---|---|---|
| committer | [email protected] <[email protected]> | 2012-12-02 14:32:01 +0000 |
| commit | 6e299e5e7a6b0889e022b0b49313ce7980ea3a7b (patch) | |
| tree | dbe372b4a395a99cb88d78fd1d999eda1b49e7a6 /bsp/simulator | |
| parent | 6de2d5fe9f8685ea55787862e69e77818801e65b (diff) | |
add uffs configuration to rtconfig.h
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2465 bbd45198-f89e-11dd-88c7-29a3b14d5316
Diffstat (limited to 'bsp/simulator')
| -rw-r--r-- | bsp/simulator/rtconfig.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/bsp/simulator/rtconfig.h b/bsp/simulator/rtconfig.h index c33816a1e7..60a545b0b8 100644 --- a/bsp/simulator/rtconfig.h +++ b/bsp/simulator/rtconfig.h @@ -13,7 +13,15 @@ #define RT_USING_MTD_NAND
#define RT_USING_MTD_NOR
+
+//#define RT_USING_DFS_UFFS
+/* configration for uffs, more to see dfs_uffs.h and uffs_config.h */
#define RT_USING_DFS_UFFS
+/* use ecc soft, the uffs will do all the things about ecc */
+#define RT_CONFIG_UFFS_ECC_MODE UFFS_ECC_SOFT
+/* enable this ,you need provide a mark_badblock/check_block funciton */
+#define RT_UFFS_USE_CHECK_MARK_FUNCITON
+
#define RT_USING_DFS_JFFS2
#define RT_USING_DFS_WINSHAREDIR
|
