2012-09-17 15:18:44 -03:00
|
|
|
#
|
|
|
|
# For a description of the syntax of this configuration file,
|
|
|
|
# see misc/tools/kconfig-language.txt.
|
|
|
|
#
|
|
|
|
|
|
|
|
config FS_NXFFS
|
|
|
|
bool "NXFFS file system"
|
|
|
|
default n
|
|
|
|
depends on !DISABLE_MOUNTPOINT
|
|
|
|
---help---
|
|
|
|
Enable NuttX FLASH file system (NXFF) support.
|
|
|
|
|
|
|
|
if FS_NXFFS
|
|
|
|
config NXFFS_ERASEDSTATE
|
2012-10-04 15:42:28 -03:00
|
|
|
hex "FLASH erased state"
|
|
|
|
default 0xff
|
2012-09-17 15:18:44 -03:00
|
|
|
---help---
|
|
|
|
The erased state of FLASH.
|
|
|
|
This must have one of the values of 0xff or 0x00.
|
|
|
|
Default: 0xff.
|
|
|
|
|
|
|
|
config NXFFS_PACKTHRESHOLD
|
2012-10-04 15:42:28 -03:00
|
|
|
int "Re-packing threshold"
|
|
|
|
default 32
|
2012-09-17 15:18:44 -03:00
|
|
|
---help---
|
|
|
|
When packing flash file data,
|
|
|
|
don't both with file chunks smaller than this number of data bytes.
|
|
|
|
Default: 32.
|
|
|
|
|
|
|
|
config NXFFS_MAXNAMLEN
|
2012-10-04 15:42:28 -03:00
|
|
|
int "Maximum file name length"
|
|
|
|
default 255
|
2012-09-17 15:18:44 -03:00
|
|
|
---help---
|
|
|
|
The maximum size of an NXFFS file name.
|
|
|
|
Default: 255.
|
|
|
|
|
|
|
|
config NXFFS_TAILTHRESHOLD
|
2012-10-04 15:42:28 -03:00
|
|
|
int "Tail threshold"
|
|
|
|
default 8192
|
2012-09-17 15:18:44 -03:00
|
|
|
---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.
|
|
|
|
|
|
|
|
endif
|