2012-04-06 17:49:35 +02:00
|
|
|
#
|
|
|
|
# For a description of the syntax of this configuration file,
|
2015-06-28 16:08:57 +02:00
|
|
|
# see the file kconfig-language.txt in the NuttX tools repository.
|
2012-04-06 17:49:35 +02:00
|
|
|
#
|
2012-04-11 01:01:40 +02:00
|
|
|
|
|
|
|
config FS_FAT
|
|
|
|
bool "FAT file system"
|
|
|
|
default n
|
2012-04-11 01:49:13 +02:00
|
|
|
depends on !DISABLE_MOUNTPOINT
|
2013-11-15 16:49:27 +01:00
|
|
|
select FS_READABLE
|
|
|
|
select FS_WRITABLE
|
2012-04-11 01:01:40 +02:00
|
|
|
---help---
|
|
|
|
Enable FAT filesystem support
|
|
|
|
|
2012-04-11 01:49:13 +02:00
|
|
|
if FS_FAT
|
2012-04-11 01:01:40 +02:00
|
|
|
config FAT_LCNAMES
|
|
|
|
bool "FAT upper/lower names"
|
|
|
|
default n
|
|
|
|
---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
|
|
|
|
---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"
|
|
|
|
depends on FAT_LFN
|
2013-03-04 19:00:07 +01:00
|
|
|
default 32
|
2012-04-11 01:01:40 +02:00
|
|
|
---help---
|
2013-04-25 23:52:00 +02:00
|
|
|
If FAT_LFN is defined, then the default, maximum long file
|
2012-04-12 23:52:04 +02:00
|
|
|
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 to be something more reasonable. A
|
|
|
|
good choice would be the same value as selected for NAME_MAX which will
|
|
|
|
limit the visibility of longer file names anyway.
|
2012-04-11 01:01:40 +02:00
|
|
|
|
|
|
|
config FS_FATTIME
|
|
|
|
bool "FAT timestamps"
|
|
|
|
default n
|
2012-09-11 15:53:44 +02:00
|
|
|
---help---
|
2012-04-11 01:01:40 +02:00
|
|
|
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.
|
|
|
|
|
2012-09-11 15:53:44 +02:00
|
|
|
config FAT_DMAMEMORY
|
|
|
|
bool "DMA memory allocator"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
The FAT file system allocates two I/O buffers for data transfer, each
|
|
|
|
are the size of one device sector. One of the buffers is allocated
|
|
|
|
once for each FAT volume that is mounted; the other buffers are
|
|
|
|
allocated each time a FAT file is opened.
|
|
|
|
|
|
|
|
Some hardware, however, may require special DMA-capable memory in
|
2013-08-27 17:40:19 +02:00
|
|
|
order to perform the transfers. If FAT_DMAMEMORY is defined
|
2013-04-20 02:35:06 +02:00
|
|
|
then the architecture-specific hardware must provide the functions
|
2012-09-11 15:53:44 +02:00
|
|
|
fat_dma_alloc() and fat_dma_free(): fat_dmalloc() will allocate
|
|
|
|
DMA-capable memory of the specified size; fat_dmafree() is the
|
|
|
|
corresponding function that will be called to free the DMA-capable
|
|
|
|
memory.
|
|
|
|
|
2012-04-11 01:49:13 +02:00
|
|
|
endif
|