]> glassweightruler.freedombox.rocks Git - Ventoy.git/blob - Plugson/src/Lib/fat_io_lib/Configuration.txt
Fix the issue that SLES/OpenSUSE can not boot after install. (#3125)
[Ventoy.git] / Plugson / src / Lib / fat_io_lib / Configuration.txt
1 File IO Lib Options
2 -=-=-=-=-=-=-=-=-=-
3
4 See defines in fat_opts.h:
5
6 FATFS_IS_LITTLE_ENDIAN [1/0]
7 Which endian is your system? Set to 1 for little endian, 0 for big endian.
8
9 FATFS_MAX_LONG_FILENAME [260]
10 By default, 260 characters (max LFN length). Increase this to support greater path depths.
11
12 FATFS_MAX_OPEN_FILES
13 The more files you wish to have concurrently open, the greater this number should be.
14 This increases the number of FL_FILE file structures in the library, each of these is around 1K in size (assuming 512 byte sectors).
15
16 FAT_BUFFER_SECTORS
17 Minimum is 1, more increases performance.
18 This defines how many FAT sectors can be buffered per FAT_BUFFER entry.
19
20 FAT_BUFFERS
21 Minimum is 1, more increases performance.
22 This defines how many FAT buffer entries are available.
23 Memory usage is FAT_BUFFERS * FAT_BUFFER_SECTORS * FAT_SECTOR_SIZE
24
25 FATFS_INC_WRITE_SUPPORT
26 Support file write functionality.
27
28 FAT_SECTOR_SIZE
29 Sector size used by buffers. Most likely to be 512 bytes (standard for ATA/IDE).
30
31 FAT_PRINTF
32 A define that allows the File IO library to print to console/stdout.
33 Provide your own printf function if printf not available.
34
35 FAT_CLUSTER_CACHE_ENTRIES
36 Size of cluster chain cache (can be undefined if not required).
37 Mem used = FAT_CLUSTER_CACHE_ENTRIES * 4 * 2
38 Improves access speed considerably.
39
40 FATFS_INC_LFN_SUPPORT [1/0]
41 Enable/Disable support for long filenames.
42
43 FATFS_DIR_LIST_SUPPORT [1/0]
44 Include support for directory listing.
45
46 FATFS_INC_TIME_DATE_SUPPORT [1/0]
47 Use time/date functions provided by time.h to update creation & modification timestamps.
48
49 FATFS_INC_FORMAT_SUPPORT
50 Include support for formatting disks (FAT16 only).
51
52 FAT_PRINTF_NOINC_STDIO
53 Disable use of printf & inclusion of stdio.h