aboutsummaryrefslogtreecommitdiffstats
path: root/src/gfile/gfile_options.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gfile/gfile_options.h')
-rw-r--r--src/gfile/gfile_options.h68
1 files changed, 34 insertions, 34 deletions
diff --git a/src/gfile/gfile_options.h b/src/gfile/gfile_options.h
index 7b157b9f..b559842d 100644
--- a/src/gfile/gfile_options.h
+++ b/src/gfile/gfile_options.h
@@ -25,10 +25,10 @@
* @details The filesystem is normally mounted automatically if the
* user does not do it manually. This option turns that off
* so the user must manually mount the file-system first.
- * @details Defaults to FALSE
+ * @details Defaults to GFXOFF
*/
#ifndef GFILE_NEED_NOAUTOMOUNT
- #define GFILE_NEED_NOAUTOMOUNT FALSE
+ #define GFILE_NEED_NOAUTOMOUNT GFXOFF
#endif
/**
* @brief Should the filesystem be synced automatically
@@ -38,46 +38,46 @@
* himself using @p gfileSync()
* @details Not all filesystems implement the syncing feature. This feature will
* have no effect in such a case.
- * @details Defaults to FALSE
+ * @details Defaults to GFXOFF
*/
#ifndef GFILE_NEED_NOAUTOSYNC
- #define GFILE_NEED_NOAUTOSYNC FALSE
+ #define GFILE_NEED_NOAUTOSYNC GFXOFF
#endif
/**
* @brief Include printg, fprintg etc functions
- * @details Defaults to FALSE
+ * @details Defaults to GFXOFF
* @pre To get the string sprintg functions you also need to define @p GFILE_NEED_STRINGS
*/
#ifndef GFILE_NEED_PRINTG
- #define GFILE_NEED_PRINTG FALSE
+ #define GFILE_NEED_PRINTG GFXOFF
#endif
/**
* @brief Include scang, fscang etc functions
- * @details Defaults to FALSE
+ * @details Defaults to GFXOFF
* @pre To get the string sscang functions you also need to define @p GFILE_NEED_STRINGS
*/
#ifndef GFILE_NEED_SCANG
- #define GFILE_NEED_SCANG FALSE
+ #define GFILE_NEED_SCANG GFXOFF
#endif
/**
* @brief Include the string based file functions
- * @details Defaults to FALSE
+ * @details Defaults to GFXOFF
*/
#ifndef GFILE_NEED_STRINGS
- #define GFILE_NEED_STRINGS FALSE
+ #define GFILE_NEED_STRINGS GFXOFF
#endif
/**
* @brief Map many stdio functions to their GFILE equivalent
- * @details Defaults to FALSE
+ * @details Defaults to GFXOFF
* @note This replaces the functions in stdio.h with equivalents
* - Do not include stdio.h as it has different conflicting definitions.
*/
#ifndef GFILE_NEED_STDIO
- #define GFILE_NEED_STDIO FALSE
+ #define GFILE_NEED_STDIO GFXOFF
#endif
/**
* @brief Include the USER file system
- * @details Defaults to FALSE
+ * @details Defaults to GFXOFF
* @note The User FS vmt strcture 'FsUSERVMT' must be defined and implemented in the user's project.
* @note If GFILE_ALLOW_DEVICESPECIFIC is on then you can ensure that you are
* opening a file on the USER file system by prefixing
@@ -88,11 +88,11 @@
* used is not one used by the other file systems.
*/
#ifndef GFILE_NEED_USERFS
- #define GFILE_NEED_USERFS FALSE
+ #define GFILE_NEED_USERFS GFXOFF
#endif
/**
* @brief Include the ROM file system
- * @details Defaults to FALSE
+ * @details Defaults to GFXOFF
* @note If GFILE_ALLOW_DEVICESPECIFIC is on then you can ensure that you are
* opening a file on the ROM file system by prefixing
* its name with "S|" (the letter 'S', followed by a vertical bar).
@@ -101,11 +101,11 @@
* converted to .h files using the file2c utility (using flags "-dbcs").
*/
#ifndef GFILE_NEED_ROMFS
- #define GFILE_NEED_ROMFS FALSE
+ #define GFILE_NEED_ROMFS GFXOFF
#endif
/**
* @brief Include the RAM file system
- * @details Defaults to FALSE
+ * @details Defaults to GFXOFF
* @note If GFILE_ALLOW_DEVICESPECIFIC is on then you can ensure that you are
* opening a file on the RAM file system by prefixing
* its name with "R|" (the letter 'R', followed by a vertical bar).
@@ -113,11 +113,11 @@
* to be allocated in RAM.
*/
#ifndef GFILE_NEED_RAMFS
- #define GFILE_NEED_RAMFS FALSE
+ #define GFILE_NEED_RAMFS GFXOFF
#endif
/**
* @brief Include the FAT file system driver based on the FATFS library
- * @details Defaults to FALSE
+ * @details Defaults to GFXOFF
* @note If GFILE_ALLOW_DEVICESPECIFIC is on then you can ensure that you are
* opening a file on the FAT file system by prefixing
* its name with "F|" (the letter 'F', followed by a vertical bar).
@@ -126,11 +126,11 @@
* one can be used at a time. The block interfaces are also different.
*/
#ifndef GFILE_NEED_FATFS
- #define GFILE_NEED_FATFS FALSE
+ #define GFILE_NEED_FATFS GFXOFF
#endif
/**
* @brief Include the FAT file system driver based on the PETITFS library
- * @details Defaults to FALSE
+ * @details Defaults to GFXOFF
* @note If GFILE_ALLOW_DEVICESPECIFIC is on then you can ensure that you are
* opening a file on the FAT file system by prefixing
* its name with "F|" (the letter 'F', followed by a vertical bar).
@@ -142,11 +142,11 @@
* @note PETITFS can only have one file open at a time.
*/
#ifndef GFILE_NEED_PETITFS
- #define GFILE_NEED_PETITFS FALSE
+ #define GFILE_NEED_PETITFS GFXOFF
#endif
/**
* @brief Include the operating system's native file system
- * @details Defaults to FALSE
+ * @details Defaults to GFXOFF
* @note If GFILE_ALLOW_DEVICESPECIFIC is on then you can ensure that you are
* opening a file on the native file system by prefixing
* its name with "N|" (the letter 'N', followed by a vertical bar).
@@ -155,11 +155,11 @@
* If it is not defined the gfileStdOut and gfileStdErr io is discarded.
*/
#ifndef GFILE_NEED_NATIVEFS
- #define GFILE_NEED_NATIVEFS FALSE
+ #define GFILE_NEED_NATIVEFS GFXOFF
#endif
/**
* @brief Include ChibiOS BaseFileStream support
- * @details Defaults to FALSE
+ * @details Defaults to GFXOFF
* @pre This is only relevant on the ChibiOS operating system.
* @note Use the @p gfileOpenBaseFileStream() call to open a GFILE based on a
* BaseFileStream. The BaseFileStream must already be open.
@@ -167,25 +167,25 @@
* must be pre-opened using the operating system.
*/
#ifndef GFILE_NEED_CHIBIOSFS
- #define GFILE_NEED_CHIBIOSFS FALSE
+ #define GFILE_NEED_CHIBIOSFS GFXOFF
#endif
/**
* @brief Include raw memory pointer support
- * @details Defaults to FALSE
+ * @details Defaults to GFXOFF
* @note Use the @p gfileOpenMemory() call to open a GFILE based on a
* memory pointer. The GFILE opened appears to be of unlimited size.
* @note A GFile of this type cannot be opened by filename.
*/
#ifndef GFILE_NEED_MEMFS
- #define GFILE_NEED_MEMFS FALSE
+ #define GFILE_NEED_MEMFS GFXOFF
#endif
/**
* @brief Include support for file list functions
- * @details Defaults to FALSE
+ * @details Defaults to GFXOFF
* @note Adds support for @p gfileOpenFileList(), @p gfileReadFileList() and @p gfileCloseFileList().
*/
#ifndef GFILE_NEED_FILELISTS
- #define GFILE_NEED_FILELISTS FALSE
+ #define GFILE_NEED_FILELISTS GFXOFF
#endif
/**
* @}
@@ -197,7 +197,7 @@
* @brief Add floating point support to printg/scang etc.
*/
#ifndef GFILE_ALLOW_FLOATS
- #define GFILE_ALLOW_FLOATS FALSE
+ #define GFILE_ALLOW_FLOATS GFXOFF
#endif
/**
* @brief Can the device be specified as part of the file name.
@@ -206,7 +206,7 @@
* specific device.
*/
#ifndef GFILE_ALLOW_DEVICESPECIFIC
- #define GFILE_ALLOW_DEVICESPECIFIC FALSE
+ #define GFILE_ALLOW_DEVICESPECIFIC GFXOFF
#endif
/**
* @brief The maximum number of open files
@@ -228,7 +228,7 @@
* be compatible with uGFX memory management.
*/
#ifndef GFILE_FATFS_EXTERNAL_LIB
- #define GFILE_FATFS_EXTERNAL_LIB FALSE
+ #define GFILE_FATFS_EXTERNAL_LIB GFXOFF
#endif
/**
* @brief TUse an external PETITFS library instead of the uGFX inbuilt one
@@ -238,7 +238,7 @@
* @note The users pffconf.h file still needs to be reachable when compiling uGFX.
*/
#ifndef GFILE_PETITFS_EXTERNAL_LIB
- #define GFILE_PETITFS_EXTERNAL_LIB FALSE
+ #define GFILE_PETITFS_EXTERNAL_LIB GFXOFF
#endif
/** @} */