Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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

FS_FAT_CFG_LFN_EN

...

10916661091666FS_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. Anchor10916681091668

FS_FAT_CFG_FAT12_EN

Anchor10916691091669FS_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.anchor10916701091670

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. Anchor10916721091672

FS_FAT_CFG_FAT32_EN

Anchor10916731091673FS_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. Anchor10916741091674

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 Table E Table E-8 will not be available. Anchor10944321094432  

...

...

Function

...

File

...

FS_FAT_JournalOpen()

...

fs_fat_journal.c/.h

...

...

FS_FAT_JournalClose()

...

fs_fat_journal.c/.h

...

...

FS_FAT_JournalStart()

...

fs_fat_journal.c/.h

...

...

FS_FAT_JournalEnd()

...

fs_fat_journal.c/.h

...

Table E-8 Journaling function exclusion
These functions are not included if FS_FAT_CFG_JOURNAL_EN is DEF_DISABLED

...

Anchor10916831091683

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. Anchor10916851091685

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.