Kconfig 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. #
  2. # For a description of the syntax of this configuration file,
  3. # see the file kconfig-language.txt in the NuttX tools repository.
  4. #
  5. config FS_TMPFS
  6. bool "TMPFS file system"
  7. default n
  8. depends on !DISABLE_MOUNTPOINT
  9. select FS_READABLE
  10. select FS_WRITABLE
  11. ---help---
  12. Enable TMPFS filesystem support
  13. if FS_TMPFS
  14. config FS_TMPFS_BLOCKSIZE
  15. int "Reported block size"
  16. default 512
  17. ---help---
  18. Various queries expect the file system to report resources in units
  19. of blocks. There are, of course, no blocks with the TMPFS. This
  20. options is available to control how sizes are reported. For very
  21. small TMPFS systems, you might want to set this to something smaller
  22. the usual 512 bytes.
  23. config FS_TMPFS_DIRECTORY_ALLOCGUARD
  24. int "Directory object over-allocation"
  25. default 64
  26. ---help---
  27. In order to avoid frequent reallocations, a little more memory than
  28. needed is always allocated. This permits the directory to grow
  29. without so many realloctions.
  30. config FS_TMPFS_DIRECTORY_FREEGUARD
  31. int "Directory under free"
  32. default 128
  33. ---help---
  34. In order to avoid frequent reallocations, a lot of free memory has
  35. to be available before a directory entry shrinks (via reallocation)
  36. little more memory than needed is always allocated. This permits
  37. the directory to shrink without so many realloctions.
  38. config FS_TMPFS_FILE_ALLOCGUARD
  39. int "Directory object over-allocation"
  40. default 512
  41. ---help---
  42. In order to avoid frequent reallocations, a little more memory than
  43. needed is always allocated. This permits the file to grow without
  44. so many realloctions.
  45. You will probably want to use smaller value than the default on tiny
  46. TMFPS systems.
  47. config FS_TMPFS_FILE_FREEGUARD
  48. int "Directory under free"
  49. default 1024
  50. ---help---
  51. In order to avoid frequent reallocations, a lot of free memory has
  52. to be available before a directory entry shrinks (via reallocation)
  53. little more memory than needed is always allocated. This permits
  54. the file to shrink without so many realloctions.
  55. endif