examples/benchmark/kernel-only_arm/cfg/cfg_fat.h File Reference

Configuration file for Fat module. More...

Go to the source code of this file.


Defines

#define CONFIG_FAT_WORD_ACCESS   0
 Use word alignment to access FAT structure.
#define CONFIG_FAT_FS_READONLY   0
 Enable read functions only.
#define CONFIG_FAT_FS_MINIMIZE   0
 Minimization level to remove some functions.
#define CONFIG_FAT_FS_TINY   1
 If enabled, this reduces memory consumption 512 bytes each file object by using a shared buffer.
#define CONFIG_FAT_USE_STRFUNC   0
 To enable string functions, set _USE_STRFUNC to 1 or 2.
#define CONFIG_FAT_USE_MKFS   0
 Enable f_mkfs function.
#define CONFIG_FAT_USE_FORWARD   0
 Enable f_forward function.
#define CONFIG_FAT_DRIVES   1
 Number of volumes (logical drives) to be used.
#define CONFIG_FAT_MAX_SS   512
 Maximum sector size to be handled.
#define CONFIG_FAT_MULTI_PARTITION   0
 When _MULTI_PARTITION is set to 0, each volume is bound to the same physical drive number and can mount only first primaly partition.
#define CONFIG_FAT_CODE_PAGE   850
 Specifies the OEM code page to be used on the target system.
#define CONFIG_FAT_USE_LFN   0
 Support for long filenames.
#define CONFIG_FAT_MAX_LFN   255
 Maximum Long File Name length to handle.

Detailed Description

Configuration file for Fat module.

Version:
Id
cfg_fat.h 2926 2009-09-10 12:45:28Z lottaviano

Author:
Luca Ottaviano <lottaviano@develer.com>

Francesco Sacchi <batt@develer.com>

Definition in file examples/benchmark/kernel-only_arm/cfg/cfg_fat.h.


Define Documentation

#define CONFIG_FAT_MAX_SS   512

Maximum sector size to be handled.

(512/1024/2048/4096). 512 for memory card and hard disk, 1024 for floppy disk, 2048 for MO disk

Definition at line 106 of file examples/benchmark/kernel-only_arm/cfg/cfg_fat.h.

#define CONFIG_FAT_MULTI_PARTITION   0

When _MULTI_PARTITION is set to 0, each volume is bound to the same physical drive number and can mount only first primaly partition.

When it is set to 1, each volume is tied to the partitions listed in Drives[].

Definition at line 116 of file examples/benchmark/kernel-only_arm/cfg/cfg_fat.h.

#define CONFIG_FAT_USE_FORWARD   0

Enable f_forward function.

Requires CONFIG_FAT_FS_TINY.

Definition at line 91 of file examples/benchmark/kernel-only_arm/cfg/cfg_fat.h.

#define CONFIG_FAT_USE_LFN   0

Support for long filenames.

Enable only if you have a valid Microsoft license.

Definition at line 130 of file examples/benchmark/kernel-only_arm/cfg/cfg_fat.h.

#define CONFIG_FAT_USE_MKFS   0

Enable f_mkfs function.

Requires CONFIG_FAT_FS_READONLY = 0.

Definition at line 84 of file examples/benchmark/kernel-only_arm/cfg/cfg_fat.h.