summaryrefslogtreecommitdiff
path: root/nuttx/fs/nxffs/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/fs/nxffs/Kconfig')
-rw-r--r--nuttx/fs/nxffs/Kconfig7
1 files changed, 3 insertions, 4 deletions
diff --git a/nuttx/fs/nxffs/Kconfig b/nuttx/fs/nxffs/Kconfig
index 39170a927..f6aede4a2 100644
--- a/nuttx/fs/nxffs/Kconfig
+++ b/nuttx/fs/nxffs/Kconfig
@@ -9,13 +9,14 @@ comment "NXFFS file system configuration"
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
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.
@@ -24,7 +25,6 @@ config NXFFS_ERASEDSTATE
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.
@@ -33,7 +33,6 @@ config NXFFS_PACKTHRESHOLD
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.
@@ -41,7 +40,6 @@ config NXFFS_MAXNAMLEN
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
@@ -53,4 +51,5 @@ config NXFFS_TAILTHRESHOLD
and making it available for re-use (and possible over-wear).
Default: 8192.
+endif
endmenu