Applications that use FreeRTOS+FAT SL must provide a very simple header
configuration header file called config_fat_sl.h. A template
is provided in FreeRTOS-Plus/Source/FreeRTOS-Plus-FAT-SL/config.
The configuration header file contains the following items:
If the file system is accessed from more than one task then
F_FS_THREAD_AWARE must be set to 1. If the file system is
only going to be accessed from a single task then setting
F_FS_THREAD_AWARE to 0 will reduce code size and improve run
When F_FS_THREAD_AWARE is set to 1 a FreeRTOS mutex is used
to protect file system data structures from being accessed
by more than one task simultaniously. F_MAX_LOCK_WAIT_TICKS
sets the maximum amount of time a file system API function
will wait to obtain the mutex. If the mutex cannot be obtained
within this time the API function is aborted.
F_MAX_LOCK_WAIT_TICKS is specified in RTOS ticks. If
configTICK_RATE_MS is at or below 1000 then milliseconds can
be converted to RTOS ticks by dividing the millisecond value
by portTICK_PERIOD_MS. configTICK_RATE_HZ is set in
FreeRTOSConfig.h. portTICK_PERIOD_MS is provided by FreeRTOS.
A file name, including its full path, cannot be longer than