Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Current »

Configuration constants can be used to enable/disable features within the FAT file system driver.

FS_FAT_CFG_LFN_EN

FS_FAT_CFG_LFN_EN is used to control whether long file names (LFNs) are supported. When DEF_DISABLED, all file names must be valid 8.3 short file names.

FS_FAT_CFG_FAT12_EN

FS_FAT_CFG_FAT12_EN is used to control whether FAT12 is supported. When DEF_DISABLED, FAT12 volumes can not be opened, nor can a device be formatted as a FAT12 volume.

FS_FAT_CFG_FAT16_EN

FS_FAT_CFG_FAT16_EN is used to control whether FAT16 is supported. When DEF_DISABLED, FAT16 volumes can not be opened, nor can a device be formatted as a FAT16 volume.

FS_FAT_CFG_FAT32_EN

FS_FAT_CFG_FAT32_EN is used to control whether FAT32 is supported. When DEF_DISABLED, FAT32 volumes can not be opened, nor can a device be formatted as a FAT32 volume.

FS_FAT_CFG_JOURNAL_EN

FS_FAT_CFG_JOURNAL_EN selects whether journaling functions will be present. When DEF_ENABLED, journaling functions are present; when DEF_DISABLED, journaling functions are not present. If disabled, the functions in the table below will not be available.

These functions are not included if FS_FAT_CFG_JOURNAL_EN is DEF_DISABLED .

FS_FAT_CFG_VOL_CHK_EN

FS_FAT_CFG_VOL_CHK_EN selects whether volume check is supported. When DEF_ENABLED, volume check is supported; when DEF_DISABLED, the function FS_FAT_VolChk() will not be available.

FS_FAT_CFG_VOL_CHK_MAX_LEVELS

FS_FAT_CFG_VOL_CHK_MAX_LEVELS specifies the maximum number of directory levels that will be checked by the volume check function. Each level requires an additional 12 bytes stack space.

  • No labels