]> git.sur5r.net Git - freertos/blob - FreeRTOS-Labs/Source/FreeRTOS-Plus-FAT/include/ff_old_config_defines.h
Add the Labs projects provided in the V10.2.1_191129 zip file.
[freertos] / FreeRTOS-Labs / Source / FreeRTOS-Plus-FAT / include / ff_old_config_defines.h
1 /*\r
2  * FreeRTOS+FAT build 191128 - Note:  FreeRTOS+FAT is still in the lab!\r
3  * Copyright (C) 2018 Amazon.com, Inc. or its affiliates.  All Rights Reserved.\r
4  * Authors include James Walmsley, Hein Tibosch and Richard Barry\r
5  *\r
6  * Permission is hereby granted, free of charge, to any person obtaining a copy of\r
7  * this software and associated documentation files (the "Software"), to deal in\r
8  * the Software without restriction, including without limitation the rights to\r
9  * use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of\r
10  * the Software, and to permit persons to whom the Software is furnished to do so,\r
11  * subject to the following conditions:\r
12  *\r
13  * The above copyright notice and this permission notice shall be included in all\r
14  * copies or substantial portions of the Software.\r
15  *\r
16  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\r
17  * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS\r
18  * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR\r
19  * COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER\r
20  * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\r
21  * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\r
22  *\r
23  * https://www.FreeRTOS.org\r
24  *\r
25  */\r
26 \r
27  /*\r
28         As of 15/3/2015 all +FAT configuration items changed their prefix,\r
29         e.g. FF_LITTLE_ENDIAN has become ffconfigLITTLE_ENDIAN\r
30         This tempoary header file checks for the presence old configuration items\r
31         and issue a compiler error if any is defined.\r
32 */\r
33 \r
34 #ifdef FF_LITTLE_ENDIAN\r
35         #error FF_LITTLE_ENDIAN was dropped and replaced with 'ffconfigBYTE_ORDER == pdFREERTOS_LITTLE_ENDIAN'\r
36 #endif\r
37 \r
38 #ifdef FF_BIG_ENDIAN\r
39         #error FF_BIG_ENDIAN was dropped and replaced with 'ffconfigBYTE_ORDER == pdFREERTOS_BIG_ENDIAN'\r
40 #endif\r
41 \r
42 #ifdef ffconfigLITTLE_ENDIAN\r
43         #error ffconfigLITTLE_ENDIAN was dropped.\r
44 #endif\r
45 \r
46 #ifdef ffconfigBIG_ENDIAN\r
47         #error ffconfigBIG_ENDIAN was dropped.\r
48 #endif\r
49 \r
50 #ifdef FF_HAS_CWD\r
51         #error FF_HAS_CWD still defined. Please use ffconfig prefix.\r
52 #endif\r
53 \r
54 #if !defined( pdFREERTOS_LITTLE_ENDIAN ) || !defined( pdFREERTOS_BIG_ENDIAN )\r
55         #error Missing defines from FreeRTOS\r
56 #endif\r
57 \r
58 #ifdef FF_LFN_SUPPORT\r
59         #error FF_LFN_SUPPORT still defined. Please use ffconfig prefix.\r
60 #endif\r
61 \r
62 #ifdef FF_INCLUDE_SHORT_NAME\r
63         #error FF_INCLUDE_SHORT_NAME still defined. Please use ffconfig prefix.\r
64 #endif\r
65 \r
66 #ifdef FF_SHORTNAME_CASE\r
67         #error FF_SHORTNAME_CASE still defined. Please use ffconfig prefix.\r
68 #endif\r
69 \r
70 #ifdef FF_UNICODE_UTF16_SUPPORT\r
71         #error FF_UNICODE_UTF16_SUPPORT still defined. Please use ffconfig prefix.\r
72 #endif\r
73 \r
74 #ifdef FF_UNICODE_UTF8_SUPPORT\r
75         #error FF_UNICODE_UTF8_SUPPORT still defined. Please use ffconfig prefix.\r
76 #endif\r
77 \r
78 #ifdef FF_FAT12_SUPPORT\r
79         #error FF_FAT12_SUPPORT still defined. Please use ffconfig prefix.\r
80 #endif\r
81 \r
82 #ifdef FF_OPTIMISE_UNALIGNED_ACCESS\r
83         #error FF_OPTIMISE_UNALIGNED_ACCESS still defined. Please use ffconfig prefix.\r
84 #endif\r
85 \r
86 #ifdef FF_CACHE_WRITE_THROUGH\r
87         #error FF_CACHE_WRITE_THROUGH still defined. Please use ffconfig prefix.\r
88 #endif\r
89 \r
90 #ifdef FF_WRITE_BOTH_FATS\r
91         #error FF_WRITE_BOTH_FATS still defined. Please use ffconfig prefix.\r
92 #endif\r
93 \r
94 #ifdef FF_WRITE_FREE_COUNT\r
95         #error FF_WRITE_FREE_COUNT still defined. Please use ffconfig prefix.\r
96 #endif\r
97 \r
98 #ifdef FF_TIME_SUPPORT\r
99         #error FF_TIME_SUPPORT still defined. Please use ffconfig prefix.\r
100 #endif\r
101 \r
102 #ifdef FF_REMOVABLE_MEDIA\r
103         #error FF_REMOVABLE_MEDIA still defined. Please use ffconfig prefix.\r
104 #endif\r
105 \r
106 #ifdef FF_MOUNT_FIND_FREE\r
107         #error FF_MOUNT_FIND_FREE still defined. Please use ffconfig prefix.\r
108 #endif\r
109 \r
110 #ifdef FF_FINDAPI_ALLOW_WILDCARDS\r
111         #error FF_FINDAPI_ALLOW_WILDCARDS still defined. Please use ffconfig prefix.\r
112 #endif\r
113 \r
114 #ifdef FF_WILDCARD_CASE_INSENSITIVE\r
115         #error FF_WILDCARD_CASE_INSENSITIVE still defined. Please use ffconfig prefix.\r
116 #endif\r
117 \r
118 #ifdef FF_PATH_CACHE\r
119         #error FF_PATH_CACHE still defined. Please use ffconfig prefix.\r
120 #endif\r
121 \r
122 #ifdef FF_PATH_CACHE_DEPTH\r
123         #error FF_PATH_CACHE_DEPTH still defined. Please use ffconfig prefix.\r
124 #endif\r
125 \r
126 #ifdef FF_HASH_CACHE\r
127         #error FF_HASH_CACHE still defined. Please use ffconfig prefix.\r
128 #endif\r
129 \r
130 #ifdef FF_HASH_FUNCTION\r
131         #error FF_HASH_FUNCTION still defined. Please use ffconfig prefix.\r
132 #endif\r
133 \r
134 #ifdef FF_HASH_TABLE_SIZE\r
135         #error FF_HASH_TABLE_SIZE still defined. Please use ffconfig prefix.\r
136 #endif\r
137 \r
138 #ifdef FF_HASH_TABLE_SIZE\r
139         #error FF_HASH_TABLE_SIZE still defined. Please use ffconfig prefix.\r
140 #endif\r
141 \r
142 #ifdef FF_MKDIR_RECURSIVE\r
143         #error FF_MKDIR_RECURSIVE still defined. Please use ffconfig prefix.\r
144 #endif\r
145 \r
146 #ifdef FF_BLKDEV_USES_SEM\r
147         #error FF_BLKDEV_USES_SEM is not used any more\r
148 #endif\r
149 \r
150 #ifdef ffconfigBLKDEV_USES_SEM\r
151         #error ffconfigBLKDEV_USES_SEM is not used any more\r
152 #endif\r
153 \r
154 #ifdef FF_MALLOC\r
155         #error FF_MALLOC still defined. Please use ffconfig prefix.\r
156 #endif\r
157 \r
158 #ifdef FF_FREE\r
159         #error FF_FREE still defined. Please use ffconfig prefix.\r
160 #endif\r
161 \r
162 #ifdef FF_64_NUM_SUPPORT\r
163         #error FF_64_NUM_SUPPORT still defined. Please use ffconfig prefix.\r
164 #endif\r
165 \r
166 #ifdef FF_MAX_PARTITIONS\r
167         #error FF_MAX_PARTITIONS still defined. Please use ffconfig prefix.\r
168 #endif\r
169 \r
170 #ifdef FF_MAX_FILE_SYS\r
171         #error FF_MAX_FILE_SYS still defined. Please use ffconfig prefix.\r
172 #endif\r
173 \r
174 #ifdef FF_DRIVER_BUSY_SLEEP_MS\r
175         #error FF_DRIVER_BUSY_SLEEP_MS still defined. Please use ffconfig prefix.\r
176 #endif\r
177 \r
178 #ifdef FF_FPRINTF_SUPPORT\r
179         #error FF_FPRINTF_SUPPORT still defined. Please use ffconfig prefix.\r
180 #endif\r
181 \r
182 #ifdef FF_FPRINTF_BUFFER_LENGTH\r
183         #error FF_FPRINTF_BUFFER_LENGTH still defined. Please use ffconfig prefix.\r
184 #endif\r
185 \r
186 #ifdef FF_DEBUG\r
187         #error FF_DEBUG still defined. Please use ffconfig prefix.\r
188 #endif\r
189 \r
190 #ifdef FF_HAS_FUNCTION_TAB\r
191         #error FF_HAS_FUNCTION_TAB still defined. Please use ffconfig prefix.\r
192 #endif\r
193 \r
194 #ifdef FF_FAT_CHECK\r
195         #error FF_FAT_CHECK still defined. Please use ffconfig prefix.\r
196 #endif\r
197 \r
198 #ifdef FF_MAX_FILENAME\r
199         #error FF_MAX_FILENAME still defined. Please use ffconfig prefix.\r
200 #endif\r
201 \r
202 #ifdef FF_PRINTFFF_PRINTF\r
203         #error FF_PRINTFFF_PRINTF still defined. Please use ffconfig prefix.\r
204 #endif\r
205 \r
206 #ifdef FF_FAT_USES_STAT\r
207         #error FF_FAT_USES_STAT still defined. Please use ffconfig prefix.\r
208 #endif\r
209 \r
210 #ifdef BUF_STORE_COUNT\r
211         #error BUF_STORE_COUNT still defined. Please use ffconfig prefix.\r
212 #endif\r
213 \r
214 #ifdef FF_USE_NOTIFY\r
215         #error FF_USE_NOTIFY still defined. Please use ffconfig prefix.\r
216 #endif\r
217 \r
218 #ifdef FF_DEV_SUPPORT\r
219         #error FF_DEV_SUPPORT still defined. Please use ffconfig prefix.\r
220 #endif\r
221 \r
222 #ifdef FF_FSINFO_TRUSTED\r
223         #error FF_FSINFO_TRUSTED still defined. Please use ffconfig prefix.\r
224 #endif\r
225 \r
226 #ifdef FF_LONG_ERR_MSG\r
227         #error FF_LONG_ERR_MSG still defined. Please use ffconfig prefix.\r
228 #endif\r
229 \r
230 #ifdef FF_INLINE_MEMORY_ACCESS\r
231         #error FF_INLINE_MEMORY_ACCESS still defined. Please use ffconfig prefix.\r
232 #endif\r
233 \r
234 #ifdef FF_MIRROR_FATS_UMOUNT\r
235         #error FF_MIRROR_FATS_UMOUNT still defined. Please use ffconfig prefix.\r
236 #endif\r
237 \r
238 #ifdef FF_HASH_CACHE_DEPTH\r
239         #error FF_HASH_CACHE_DEPTH still defined. Please use ffconfig prefix.\r
240 #endif\r
241 \r
242 #ifdef FF_HASH_TABLE_SUPPORT\r
243         #error FF_HASH_TABLE_SUPPORT was dropped\r
244 #endif\r
245 \r
246 #ifdef FF_INLINE_BLOCK_CALCULATIONS\r
247         #error FF_INLINE_BLOCK_CALCULATIONS was dropped\r
248 #endif\r
249 \r
250 #ifdef FF_CWD_THREAD_LOCAL_INDEX\r
251         #error FF_CWD_THREAD_LOCAL_INDEX is now called ffconfigCWD_THREAD_LOCAL_INDEX\r
252 #endif\r
253 \r
254 #ifdef FF_DEV_PATH\r
255         #error FF_DEV_PATH was dropped\r
256 #endif\r