]> git.sur5r.net Git - freertos/blob - FreeRTOS/Demo/CORTEX_A9_RZ_R7S72100_IAR_DS-5/Source/Full-Demo/config_fat_sl.h
Add missing +TCP code.
[freertos] / FreeRTOS / Demo / CORTEX_A9_RZ_R7S72100_IAR_DS-5 / Source / Full-Demo / config_fat_sl.h
1 /*\r
2  * FreeRTOS+FAT SL V1.0.1 (C) 2014 HCC Embedded\r
3  *\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
9  *\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
16  *\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
23  * to be changed.\r
24  *\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
31  *\r
32  * http://www.FreeRTOS.org\r
33  * http://www.FreeRTOS.org/FreeRTOS-Plus\r
34  *\r
35  */\r
36 \r
37 #ifndef _CONFIG_FAT_SL_H\r
38 #define _CONFIG_FAT_SL_H\r
39 \r
40 #include "../version/ver_fat_sl.h"\r
41 #if VER_FAT_SL_MAJOR != 5 || VER_FAT_SL_MINOR != 2\r
42  #error Incompatible FAT_SL version number!\r
43 #endif\r
44 \r
45 #include "../api/api_mdriver.h"\r
46 \r
47 #ifdef __cplusplus\r
48 extern "C" {\r
49 #endif\r
50 \r
51 \r
52 /**************************************************************************\r
53 **\r
54 **  FAT SL user settings\r
55 **\r
56 **************************************************************************/\r
57 #define F_SECTOR_SIZE           512u  /* Disk sector size. */\r
58 #define F_FS_THREAD_AWARE       0     /* 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
61 \r
62 #ifdef __cplusplus\r
63 }\r
64 #endif\r
65 \r
66 #endif /* _CONFIG_FAT_SL_H */\r
67 \r