nuttx/fs/nxffs/Kconfig

57 lines
1.5 KiB
Plaintext
Raw Normal View History

#
# For a description of the syntax of this configuration file,
# see misc/tools/kconfig-language.txt.
#
menu "NXFFS file system configuration"
comment "NXFFS file system configuration"
config FS_NXFFS
bool "NXFFS file system"
default n
---help---
Enable NuttX FLASH file system (NXFF) support.
config NXFFS_ERASEDSTATE
bool "FLASH erased state"
default n
depends on FS_NXFFS
---help---
The erased state of FLASH.
This must have one of the values of 0xff or 0x00.
Default: 0xff.
config NXFFS_PACKTHRESHOLD
bool "Re-packing threshold"
default n
depends on FS_NXFFS
---help---
When packing flash file data,
don't both with file chunks smaller than this number of data bytes.
Default: 32.
config NXFFS_MAXNAMLEN
bool "Maximum file name length"
default n
depends on FS_NXFFS
---help---
The maximum size of an NXFFS file name.
Default: 255.
config NXFFS_TAILTHRESHOLD
bool "Tail threshold"
default n
depends on FS_NXFFS
---help---
clean-up can either mean
packing files together toward the end of the file or, if file are
deleted at the end of the file, clean up can simply mean erasing
the end of FLASH memory so that it can be re-used again. However,
doing this can also harm the life of the FLASH part because it can
mean that the tail end of the FLASH is re-used too often. This
threshold determines if/when it is worth erased the tail end of FLASH
and making it available for re-use (and possible over-wear).
Default: 8192.
endmenu