mirror of
https://github.com/FreeRTOS/Lab-Project-FreeRTOS-FAT.git
synced 2025-10-21 23:10:48 +08:00
FAT: Changes for 64-bit platforms and solved compiler warnings (#21)
* Changes for 64-bit platforms * Treated a few more compiler warnings. Co-authored-by: Hein Tibosch <hein@htibosch.net> Co-authored-by: Aniruddha Kanhere <60444055+AniruddhaKanhere@users.noreply.github.com>
This commit is contained in:
@@ -347,6 +347,10 @@
|
||||
#define ffconfigMAX_PARTITIONS 4
|
||||
#endif
|
||||
|
||||
#if ( ffconfigMAX_PARTITIONS < 1 ) || ( ffconfigMAX_PARTITIONS > 8 )
|
||||
#error ffconfigMAX_PARTITIONS must be between 1 and 8
|
||||
#endif
|
||||
|
||||
#if !defined( ffconfigMAX_FILE_SYS )
|
||||
|
||||
/* Defines how many drives can be combined in total. Should be set to at
|
||||
@@ -460,4 +464,49 @@
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifndef ffconfigFAT_USES_STAT
|
||||
/* When enabled, the library keeps statistics about the use of cache
|
||||
* buffers. This can be useful while configuring or optimising the
|
||||
* cache size. */
|
||||
#define ffconfigFAT_USES_STAT 0
|
||||
#endif
|
||||
|
||||
#ifndef ffconfigUSE_NOTIFY
|
||||
|
||||
/* When defined, the driver will call a user hook "callFileEvents()"
|
||||
* for certain events: creation, change, and deletion of a file or
|
||||
* directory.
|
||||
* For instance: it can be useful to get an event as soon as a set-up
|
||||
* file has changed, or when a lock-file has been placed or removed.
|
||||
*/
|
||||
#define ffconfigUSE_NOTIFY 0
|
||||
#endif
|
||||
|
||||
#ifndef ffconfigDEV_SUPPORT
|
||||
|
||||
/* A rarely used feature of FreeRTOS+FAT which lets files behave
|
||||
* as 'devices'. */
|
||||
#define ffconfigDEV_SUPPORT 0
|
||||
#endif
|
||||
|
||||
#ifndef USE_SOFT_WDT
|
||||
|
||||
/* When true. a user-provided function `clearWDT()` will be called
|
||||
* during a long action. */
|
||||
#define USE_SOFT_WDT 0
|
||||
#endif
|
||||
|
||||
#ifndef ffconfigNOT_USED_FOR_NOW
|
||||
|
||||
/* This macro was once used for debugging.
|
||||
* When defined as 1, the function 'FF_Utf16ctoUtf32c()'
|
||||
* will be compiled */
|
||||
#define ffconfigNOT_USED_FOR_NOW 0
|
||||
#endif
|
||||
|
||||
#ifndef FF_NOSTRCASECMP
|
||||
/* When zero, the function 'strcasecmp()' will be dfined. */
|
||||
#define FF_NOSTRCASECMP 0
|
||||
#endif
|
||||
|
||||
#endif /* ifndef FF_DEFAULTCONFIG_H */
|
||||
|
Reference in New Issue
Block a user