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
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
13 * The above copyright notice and this permission notice shall be included in all
\r
14 * copies or substantial portions of the Software.
\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
23 * https://www.FreeRTOS.org
\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
34 #ifdef FF_LITTLE_ENDIAN
\r
35 #error FF_LITTLE_ENDIAN was dropped and replaced with 'ffconfigBYTE_ORDER == pdFREERTOS_LITTLE_ENDIAN'
\r
38 #ifdef FF_BIG_ENDIAN
\r
39 #error FF_BIG_ENDIAN was dropped and replaced with 'ffconfigBYTE_ORDER == pdFREERTOS_BIG_ENDIAN'
\r
42 #ifdef ffconfigLITTLE_ENDIAN
\r
43 #error ffconfigLITTLE_ENDIAN was dropped.
\r
46 #ifdef ffconfigBIG_ENDIAN
\r
47 #error ffconfigBIG_ENDIAN was dropped.
\r
51 #error FF_HAS_CWD still defined. Please use ffconfig prefix.
\r
54 #if !defined( pdFREERTOS_LITTLE_ENDIAN ) || !defined( pdFREERTOS_BIG_ENDIAN )
\r
55 #error Missing defines from FreeRTOS
\r
58 #ifdef FF_LFN_SUPPORT
\r
59 #error FF_LFN_SUPPORT still defined. Please use ffconfig prefix.
\r
62 #ifdef FF_INCLUDE_SHORT_NAME
\r
63 #error FF_INCLUDE_SHORT_NAME still defined. Please use ffconfig prefix.
\r
66 #ifdef FF_SHORTNAME_CASE
\r
67 #error FF_SHORTNAME_CASE still defined. Please use ffconfig prefix.
\r
70 #ifdef FF_UNICODE_UTF16_SUPPORT
\r
71 #error FF_UNICODE_UTF16_SUPPORT still defined. Please use ffconfig prefix.
\r
74 #ifdef FF_UNICODE_UTF8_SUPPORT
\r
75 #error FF_UNICODE_UTF8_SUPPORT still defined. Please use ffconfig prefix.
\r
78 #ifdef FF_FAT12_SUPPORT
\r
79 #error FF_FAT12_SUPPORT still defined. Please use ffconfig prefix.
\r
82 #ifdef FF_OPTIMISE_UNALIGNED_ACCESS
\r
83 #error FF_OPTIMISE_UNALIGNED_ACCESS still defined. Please use ffconfig prefix.
\r
86 #ifdef FF_CACHE_WRITE_THROUGH
\r
87 #error FF_CACHE_WRITE_THROUGH still defined. Please use ffconfig prefix.
\r
90 #ifdef FF_WRITE_BOTH_FATS
\r
91 #error FF_WRITE_BOTH_FATS still defined. Please use ffconfig prefix.
\r
94 #ifdef FF_WRITE_FREE_COUNT
\r
95 #error FF_WRITE_FREE_COUNT still defined. Please use ffconfig prefix.
\r
98 #ifdef FF_TIME_SUPPORT
\r
99 #error FF_TIME_SUPPORT still defined. Please use ffconfig prefix.
\r
102 #ifdef FF_REMOVABLE_MEDIA
\r
103 #error FF_REMOVABLE_MEDIA still defined. Please use ffconfig prefix.
\r
106 #ifdef FF_MOUNT_FIND_FREE
\r
107 #error FF_MOUNT_FIND_FREE still defined. Please use ffconfig prefix.
\r
110 #ifdef FF_FINDAPI_ALLOW_WILDCARDS
\r
111 #error FF_FINDAPI_ALLOW_WILDCARDS still defined. Please use ffconfig prefix.
\r
114 #ifdef FF_WILDCARD_CASE_INSENSITIVE
\r
115 #error FF_WILDCARD_CASE_INSENSITIVE still defined. Please use ffconfig prefix.
\r
118 #ifdef FF_PATH_CACHE
\r
119 #error FF_PATH_CACHE still defined. Please use ffconfig prefix.
\r
122 #ifdef FF_PATH_CACHE_DEPTH
\r
123 #error FF_PATH_CACHE_DEPTH still defined. Please use ffconfig prefix.
\r
126 #ifdef FF_HASH_CACHE
\r
127 #error FF_HASH_CACHE still defined. Please use ffconfig prefix.
\r
130 #ifdef FF_HASH_FUNCTION
\r
131 #error FF_HASH_FUNCTION still defined. Please use ffconfig prefix.
\r
134 #ifdef FF_HASH_TABLE_SIZE
\r
135 #error FF_HASH_TABLE_SIZE still defined. Please use ffconfig prefix.
\r
138 #ifdef FF_HASH_TABLE_SIZE
\r
139 #error FF_HASH_TABLE_SIZE still defined. Please use ffconfig prefix.
\r
142 #ifdef FF_MKDIR_RECURSIVE
\r
143 #error FF_MKDIR_RECURSIVE still defined. Please use ffconfig prefix.
\r
146 #ifdef FF_BLKDEV_USES_SEM
\r
147 #error FF_BLKDEV_USES_SEM is not used any more
\r
150 #ifdef ffconfigBLKDEV_USES_SEM
\r
151 #error ffconfigBLKDEV_USES_SEM is not used any more
\r
155 #error FF_MALLOC still defined. Please use ffconfig prefix.
\r
159 #error FF_FREE still defined. Please use ffconfig prefix.
\r
162 #ifdef FF_64_NUM_SUPPORT
\r
163 #error FF_64_NUM_SUPPORT still defined. Please use ffconfig prefix.
\r
166 #ifdef FF_MAX_PARTITIONS
\r
167 #error FF_MAX_PARTITIONS still defined. Please use ffconfig prefix.
\r
170 #ifdef FF_MAX_FILE_SYS
\r
171 #error FF_MAX_FILE_SYS still defined. Please use ffconfig prefix.
\r
174 #ifdef FF_DRIVER_BUSY_SLEEP_MS
\r
175 #error FF_DRIVER_BUSY_SLEEP_MS still defined. Please use ffconfig prefix.
\r
178 #ifdef FF_FPRINTF_SUPPORT
\r
179 #error FF_FPRINTF_SUPPORT still defined. Please use ffconfig prefix.
\r
182 #ifdef FF_FPRINTF_BUFFER_LENGTH
\r
183 #error FF_FPRINTF_BUFFER_LENGTH still defined. Please use ffconfig prefix.
\r
187 #error FF_DEBUG still defined. Please use ffconfig prefix.
\r
190 #ifdef FF_HAS_FUNCTION_TAB
\r
191 #error FF_HAS_FUNCTION_TAB still defined. Please use ffconfig prefix.
\r
194 #ifdef FF_FAT_CHECK
\r
195 #error FF_FAT_CHECK still defined. Please use ffconfig prefix.
\r
198 #ifdef FF_MAX_FILENAME
\r
199 #error FF_MAX_FILENAME still defined. Please use ffconfig prefix.
\r
202 #ifdef FF_PRINTFFF_PRINTF
\r
203 #error FF_PRINTFFF_PRINTF still defined. Please use ffconfig prefix.
\r
206 #ifdef FF_FAT_USES_STAT
\r
207 #error FF_FAT_USES_STAT still defined. Please use ffconfig prefix.
\r
210 #ifdef BUF_STORE_COUNT
\r
211 #error BUF_STORE_COUNT still defined. Please use ffconfig prefix.
\r
214 #ifdef FF_USE_NOTIFY
\r
215 #error FF_USE_NOTIFY still defined. Please use ffconfig prefix.
\r
218 #ifdef FF_DEV_SUPPORT
\r
219 #error FF_DEV_SUPPORT still defined. Please use ffconfig prefix.
\r
222 #ifdef FF_FSINFO_TRUSTED
\r
223 #error FF_FSINFO_TRUSTED still defined. Please use ffconfig prefix.
\r
226 #ifdef FF_LONG_ERR_MSG
\r
227 #error FF_LONG_ERR_MSG still defined. Please use ffconfig prefix.
\r
230 #ifdef FF_INLINE_MEMORY_ACCESS
\r
231 #error FF_INLINE_MEMORY_ACCESS still defined. Please use ffconfig prefix.
\r
234 #ifdef FF_MIRROR_FATS_UMOUNT
\r
235 #error FF_MIRROR_FATS_UMOUNT still defined. Please use ffconfig prefix.
\r
238 #ifdef FF_HASH_CACHE_DEPTH
\r
239 #error FF_HASH_CACHE_DEPTH still defined. Please use ffconfig prefix.
\r
242 #ifdef FF_HASH_TABLE_SUPPORT
\r
243 #error FF_HASH_TABLE_SUPPORT was dropped
\r
246 #ifdef FF_INLINE_BLOCK_CALCULATIONS
\r
247 #error FF_INLINE_BLOCK_CALCULATIONS was dropped
\r
250 #ifdef FF_CWD_THREAD_LOCAL_INDEX
\r
251 #error FF_CWD_THREAD_LOCAL_INDEX is now called ffconfigCWD_THREAD_LOCAL_INDEX
\r
255 #error FF_DEV_PATH was dropped
\r