jffs2_config.h 958 B

1234567891011121314151617181920212223242526272829303132333435
  1. #ifndef JFFS2_CONFIG_H
  2. #define JFFS2_CONFIG_H
  3. #define __ECOS /* must be defined */
  4. #define FILE_PATH_MAX 256 /* the longest file path */
  5. #define DEVICE_PART_MAX 1 /* the max partions on a nand deivce*/
  6. #define CYGPKG_FS_JFFS2_RET_DIRENT_DTYPE /* should be enabled */
  7. #if defined(CYGPKG_FS_JFFS2_RET_DIRENT_DTYPE)
  8. #define CYGPKG_FILEIO_DIRENT_DTYPE
  9. #endif
  10. #define CYGOPT_FS_JFFS2_WRITE /* if not defined, jffs2 is read only*/
  11. /* jffs2 debug output opion */
  12. #define CONFIG_JFFS2_FS_DEBUG 0 /* 1 or 2 */
  13. /* jffs2 gc thread section */
  14. //#define CYGOPT_FS_JFFS2_GCTHREAD
  15. #define CYGNUM_JFFS2_GC_THREAD_PRIORITY 20
  16. #define CYGNUM_JFFS2_GS_THREAD_TICKS 20
  17. #define CYGNUM_JFFS2_GC_THREAD_TICKS 20
  18. //#define CONFIG_JFFS2_FS_WRITEBUFFER /* should not be enabled */
  19. /* zlib section*/
  20. //#define CONFIG_JFFS2_ZLIB
  21. //#define CONFIG_JFFS2_RTIME
  22. //#define CONFIG_JFFS2_RUBIN
  23. //#define CONFIG_JFFS2_CMODE_NONE
  24. //#define CONFIG_JFFS2_CMODE_SIZE
  25. #endif