KConfig 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. menu "Device virtual file system"
  2. config RT_USING_DFS
  3. bool "Using device virtual file system"
  4. default y
  5. help
  6. The device file system is a light weight virtual file system.
  7. if RT_USING_DFS
  8. config DFS_USING_WORKDIR
  9. bool "Using working directory"
  10. default y
  11. config DFS_FILESYSTEMS_MAX
  12. int "The maximal number of mounted file system"
  13. default 2
  14. config DFS_FD_MAX
  15. int "The maximal number of opened files"
  16. default 4
  17. config RT_USING_DFS_ELMFAT
  18. bool "Enable elm-chan fatfs"
  19. default y
  20. help
  21. FatFs is a generic FAT/exFAT file system module for small embedded systems.
  22. if RT_USING_DFS_ELMFAT
  23. config RT_DFS_ELM_CODE_PAGE
  24. int "OEM code page"
  25. default 437
  26. config RT_DFS_ELM_MAX_LFN
  27. int "Maximal size of file name length"
  28. default 256
  29. config RT_DFS_ELM_DRIVES
  30. int "Number of volumes (logical drives) to be used."
  31. default 2
  32. config RT_DFS_ELM_MAX_SECTOR_SIZE
  33. int "Maximum sector size to be handled."
  34. default 512
  35. help
  36. if you use some spi nor flash for fatfs, please set this the erase sector size, for example 4096.
  37. config RT_DFS_ELM_USE_ERASE
  38. bool "Enable sector erase feature"
  39. default n
  40. config RT_DFS_ELM_REENTRANT
  41. bool "Enable the reentrancy (thread safe) of the FatFs module"
  42. default y
  43. endif
  44. config RT_USING_DFS_DEVFS
  45. bool "Using devfs for device objects"
  46. default y
  47. config RT_USING_DFS_NET
  48. bool "Enable BSD socket operated by file system API"
  49. default n
  50. help
  51. Let BSD socket operated by file system API, such as read/write and involveed in select/poll POSIX APIs.
  52. config RT_USING_DFS_NFS
  53. bool "Using NFS v3 client file system"
  54. default n
  55. if RT_USING_DFS_NFS
  56. config RT_NFS_HOST_EXPORT
  57. string "NFSv3 host export"
  58. default "192.168.1.5:/"
  59. endif
  60. endif
  61. endmenu