STM32 Bootloader
Customizable Bootloader for STM32 microcontrollers
ffconf.h File Reference

This file contains the FatFs module configuration options including read-only mode, string functions, code page, and other settings. More...

#include <stdlib.h>

Go to the source code of this file.

Macros

#define _FFCONF   68300
 
#define _FS_READONLY   1
 This option switches read-only configuration. More...
 
#define _FS_MINIMIZE   0
 This option defines minimization level to remove some basic API functions. More...
 
#define _USE_STRFUNC   2
 This option switches string functions, f_gets(), f_putc(), f_puts() and f_printf(). More...
 
#define _USE_FIND   0
 This option switches filtered directory read functions, f_findfirst() and f_findnext(). More...
 
#define _USE_MKFS   1
 This option switches f_mkfs() function. More...
 
#define _USE_FASTSEEK   1
 This option switches fast seek feature. More...
 
#define _USE_EXPAND   0
 This option switches f_expand function. More...
 
#define _USE_CHMOD   0
 This option switches attribute manipulation functions, f_chmod() and f_utime(). More...
 
#define _USE_LABEL   0
 This option switches volume label functions, f_getlabel() and f_setlabel(). More...
 
#define _USE_FORWARD   0
 This option switches f_forward() function. More...
 
#define _CODE_PAGE   850
 This option specifies the OEM code page to be used on the target system. More...
 
#define _USE_LFN   1
 This option switches the support of long file name (LFN). More...
 
#define _MAX_LFN   255
 
#define _LFN_UNICODE   0
 This option switches character encoding on the API. More...
 
#define _STRF_ENCODE   3
 When _LFN_UNICODE == 1, this option selects the character encoding on the file to be read/written via string I/O functions, f_gets(), f_putc(), f_puts and f_printf(). More...
 
#define _FS_RPATH   0
 This option configures support of relative path. More...
 
#define _VOLUMES   1
 
#define _STR_VOLUME_ID   0
 This option switches string support of volume ID. More...
 
#define _VOLUME_STRS   "RAM", "NAND", "CF", "SD1", "SD2", "USB1", "USB2", "USB3"
 Defines the drive ID strings for each logical drives. More...
 
#define _MULTI_PARTITION   0
 This option switches support of multi-partition on a physical drive. More...
 
#define _MIN_SS   512
 These options configure the range of sector size to be supported. (512, 1024, 2048 or 4096) More...
 
#define _MAX_SS   512
 These options configure the range of sector size to be supported. (512, 1024, 2048 or 4096) More...
 
#define _USE_TRIM   0
 This option switches support of ATA-TRIM. More...
 
#define _FS_NOFSINFO   0
 If you need to know correct free space on the FAT32 volume, set bit 0 of this option. (0, 1, 2 or 3) More...
 
#define _FS_TINY   0
 This option switches tiny buffer configuration. More...
 
#define _FS_EXFAT   0
 This option switches support of exFAT file system. More...
 
#define _FS_NORTC   0
 This option switches timestamp function. More...
 
#define _NORTC_MON   6
 
#define _NORTC_MDAY   4
 
#define _NORTC_YEAR   2018
 
#define _FS_LOCK   0
 This option switches file lock function to control duplicated file open and illegal operation to open objects. More...
 
#define _FS_REENTRANT   0
 This option switches the re-entrancy (thread safe) of the FatFs module itself. (0:Disable or 1:Enable) More...
 
#define _FS_TIMEOUT   1000
 
#define _SYNC_t   osSemaphoreId
 
#define ff_malloc   malloc
 
#define ff_free   free
 

Detailed Description

This file contains the FatFs module configuration options including read-only mode, string functions, code page, and other settings.

STM32 Bootloader

Author
Akos Pasztor

Definition in file ffconf.h.

Macro Definition Documentation

◆ _FFCONF

#define _FFCONF   68300

Revision ID

Definition at line 17 of file ffconf.h.