summaryrefslogtreecommitdiff
path: root/nuttx/fs/nxffs
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-04-10 23:49:13 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-04-10 23:49:13 +0000
commit3e83a91922974bdbbf76dd40960c774e85868cc1 (patch)
tree4f0e385ebcff6b7691547de0d9b05867d5214b92 /nuttx/fs/nxffs
parent4dfecaf427d884d0a3e81bdf0850fa51af0e9ce0 (diff)
downloadnuttx-3e83a91922974bdbbf76dd40960c774e85868cc1.tar.gz
nuttx-3e83a91922974bdbbf76dd40960c774e85868cc1.tar.bz2
nuttx-3e83a91922974bdbbf76dd40960c774e85868cc1.zip
Add a little more configuration logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4587 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/fs/nxffs')
-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