Contiki-NG
Loading...
Searching...
No Matches

Header file configuring FatFs for RE-Mote. More...

#include "contiki.h"

Go to the source code of this file.

Macros

#define _FFCONF   68020
 Revision ID.
 
Function Configuration
#define _FS_READONLY   0
 This option switches the read-only configuration (0: read/write or 1: read-only).
 
#define _FS_MINIMIZE   0
 This option defines the minimization level to remove some basic API functions.
 
#define _USE_STRFUNC   1
 This option switches the string functions: f_gets(), f_putc(), f_puts(), and f_printf().
 
#define _USE_FIND   1
 This option switches the filtered directory read functions: f_findfirst() and f_findnext() (0: disable, 1: enable, 2: enable with matching altname[] too).
 
#define _USE_MKFS   1
 This option switches the f_mkfs() function (0: disable or 1: enable).
 
#define _USE_FASTSEEK   0
 This option switches the fast seek function (0: disable or 1: enable).
 
#define _USE_EXPAND   0
 This option switches the f_expand() function (0: disable or 1: enable).
 
#define _USE_CHMOD   1
 This option switches the attribute manipulation functions: f_chmod() and f_utime() (0: disable or 1: enable).
 
#define _USE_LABEL   1
 This option switches the volume label functions: f_getlabel() and f_setlabel() (0: disable or 1: enable).
 
#define _USE_FORWARD   0
 This option switches the f_forward() function (0: disable or 1: enable).
 
Locale and Namespace Configuration
#define _CODE_PAGE   437
 This option specifies the OEM code page to be used on the target system.
 
#define _USE_LFN   3
 _USE_LFN switches the support of long file name (LFN).
 
#define _LFN_UNICODE   0
 This option switches the character encoding in the API (0: ANSI/OEM or 1: UTF-16).
 
#define _STRF_ENCODE   0
 If _LFN_UNICODE is set to 1, this option selects the character encoding OF THE FILE to be read/written via the string I/O functions: f_gets(), f_putc(), f_puts(), and f_printf().
 
#define _FS_RPATH   2
 This option configures the support of relative path.
 
Drive/Volume Configuration
#define _VOLUMES   1
 Number of volumes (logical drives) to be used.
 
#define _STR_VOLUME_ID   0
 _STR_VOLUME_ID switches the string support of volume ID.
 
#define _MULTI_PARTITION   0
 This option switches support of multi-partition on a physical drive.
 
#define _MIN_SS   512
 These options configure the range of sector size to be supported (512, 1024, 2048, or 4096).
 
#define _USE_TRIM   0
 This option switches the support of ATA-TRIM (0: disable or 1: enable).
 
#define _FS_NOFSINFO   3
 If you need to know the correct free space on the FAT32 volume, set the bit 0 of this option, and the f_getfree() function will force a full FAT scan on the first time after a volume mount.
 
System Configuration
#define _FS_TINY   0
 This option switches the tiny buffer configuration (0: normal or 1: tiny).
 
#define _FS_EXFAT   1
 This option switches the support of the exFAT file system (0: disable or 1: enable).
 
#define _FS_NORTC   (!RTC_CONF_INIT)
 The option _FS_NORTC switches the timestamp function.
 
#define _FS_LOCK   0
 The option _FS_LOCK switches the file lock function controlling duplicate file open and illegal operations on the open objects.
 
#define _FS_REENTRANT   0
 The option _FS_REENTRANT switches the re-entrancy (thread-safe) of the FatFs module itself.
 

Detailed Description

Header file configuring FatFs for RE-Mote.

Definition in file ffconf.h.