diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-04-10 23:01:40 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-04-10 23:01:40 +0000 |
commit | 4dfecaf427d884d0a3e81bdf0850fa51af0e9ce0 (patch) | |
tree | 2bd9d6e027cec37533c335b4304900fa30a63f8c /nuttx/fs/fat | |
parent | 9df4eee7585041fb2006969fd9687af972dc8206 (diff) | |
download | px4-nuttx-4dfecaf427d884d0a3e81bdf0850fa51af0e9ce0.tar.gz px4-nuttx-4dfecaf427d884d0a3e81bdf0850fa51af0e9ce0.tar.bz2 px4-nuttx-4dfecaf427d884d0a3e81bdf0850fa51af0e9ce0.zip |
A little bit of file system configuration logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4586 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/fs/fat')
-rw-r--r-- | nuttx/fs/fat/Kconfig | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/nuttx/fs/fat/Kconfig b/nuttx/fs/fat/Kconfig index ae2bf3130..9a023c297 100644 --- a/nuttx/fs/fat/Kconfig +++ b/nuttx/fs/fat/Kconfig @@ -2,3 +2,62 @@ # For a description of the syntax of this configuration file, # see misc/tools/kconfig-language.txt. # + +menu "FAT file system configuration" +comment "FAT file system configuration" + +config FS_FAT + bool "FAT file system" + default n +# depends on CONFIG_NFILE_DESCRIPTORS > 0 && !CONFIG_DISABLE_MOUNTPOINT + ---help--- + Enable FAT filesystem support + +config FAT_SECTORSIZE + int "FAT sector size" + default 512 + depends on FS_FAT + ---help--- + Max supported sector size + +config FAT_LCNAMES + bool "FAT upper/lower names" + default n + depends on FS_FAT + ---help--- + Enable use of the NT-style upper/lower case 8.3 + file name support. + +config FAT_LFN + bool "FAT long file names" + default n + depends on FS_FAT + ---help--- + Enable FAT long file names. NOTE: Microsoft claims + patents on FAT long file name technology. Please read the + disclaimer in the top-level COPYING file and only enable this + feature if you understand these issues. + +config FAT_MAXFNAME + int "FAT maximum file name size" + default n + depends on FAT_LFN + ---help--- + If CONFIG_FAT_LFN is defined, then the + default, maximum long file name is 255 bytes. This can eat up + a lot of memory (especially stack space). If you are willing + to live with some non-standard, short long file names, then + define this value. A good choice would be the same value as + selected for CONFIG_NAME_MAX which will limit the visibility + of longer file names anyway. + +config FS_FATTIME + bool "FAT timestamps" + default n + depends on FS_FAT + ---help--- + Support FAT date and time. NOTE: There is not + much sense in supporting FAT date and time unless you have a + hardware RTC or other way to get the time and date. + +endmenu |