2 * FreeRTOS+FAT FS V1.0.0 (C) 2013 HCC Embedded
\r
4 * FreeRTOS+FAT SL is an complementary component provided to Real Time Engineers
\r
5 * Ltd. by HCC Embedded for use with FreeRTOS. It is not, in itself, part of
\r
6 * the FreeRTOS kernel. FreeRTOS+FAT SL is licensed separately from FreeRTOS,
\r
7 * and uses a different license to FreeRTOS. FreeRTOS+FAT SL uses a dual
\r
8 * license model, information on which is provided below:
\r
10 * - Open source licensing -
\r
11 * FreeRTOS+FAT SL is a free download and may be used, modified and distributed
\r
12 * without charge provided the user adheres to version two of the GNU General
\r
13 * Public license (GPL) and does not remove the copyright notice or this text.
\r
14 * The GPL V2 text is available on the gnu.org web site, and on the following
\r
15 * URL: http://www.FreeRTOS.org/gpl-2.0.txt
\r
17 * - Commercial licensing -
\r
18 * Businesses and individuals who wish to incorporate FreeRTOS+FAT SL into
\r
19 * proprietary software for redistribution in any form must first obtain a
\r
20 * commercial license - and in-so-doing support the maintenance, support and
\r
21 * further development of the FreeRTOS+FAT SL product. Commercial licenses can
\r
22 * be obtained from http://shop.freertos.org and do not require any source files
\r
25 * FreeRTOS+FAT SL is distributed in the hope that it will be useful. You
\r
26 * cannot use FreeRTOS+FAT SL unless you agree that you use the software 'as
\r
27 * is'. FreeRTOS+FAT SL is provided WITHOUT ANY WARRANTY; without even the
\r
28 * implied warranties of NON-INFRINGEMENT, MERCHANTABILITY or FITNESS FOR A
\r
29 * PARTICULAR PURPOSE. Real Time Engineers Ltd. and HCC Embedded disclaims all
\r
30 * conditions and terms, be they implied, expressed, or statutory.
\r
32 * http://www.FreeRTOS.org
\r
33 * http://www.FreeRTOS.org/FreeRTOS-Plus
\r
37 #ifndef _CONFIG_FAT_SL_H
\r
38 #define _CONFIG_FAT_SL_H
\r
40 #include "../version/ver_fat_sl.h"
\r
41 #if VER_FAT_SL_MAJOR != 3 || VER_FAT_SL_MINOR != 2
\r
42 #error Incompatible FAT_SL version number!
\r
45 #include "../api/api_mdriver.h"
\r
52 /**************************************************************************
\r
54 ** FAT SL user settings
\r
56 **************************************************************************/
\r
57 #define F_SECTOR_SIZE 512u /* Disk sector size. */
\r
58 #define F_FS_THREAD_AWARE 1 /* Set to one if the file system will be access from more than one task. */
\r
59 #define F_MAXPATH 64 /* Maximum length a file name (including its full path) can be. */
\r
60 #define F_MAX_LOCK_WAIT_TICKS 20 /* The maximum number of RTOS ticks to wait when attempting to obtain a lock on the file system when F_FS_THREAD_AWARE is set to 1. */
\r
66 #endif /* _CONFIG_FAT_SL_H */
\r