1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
22
23
24
25
28
29
30
34
35
36
37
44
45
46
47
53
54
55
56
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
75
76
77
78
80
81
82
83
84
85
86
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
162
163
164
167
168
169
170
171
172
173
174
179
180
181
182
188
189
190
191
192
198
199
200
201
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
222
223
224
228
229
230
231
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
/* ... */
/* ... */
#define _FFCONF 68300
/* ... */
#define _FS_READONLY 0
/* ... */
#define _FS_MINIMIZE 0
/* ... */
#define _USE_STRFUNC 0
/* ... */
#define _USE_FIND 0
/* ... */
#define _USE_MKFS 1
#define _USE_FASTSEEK 1
#define _USE_EXPAND 0
#define _USE_CHMOD 0
/* ... */
#define _USE_LABEL 0
/* ... */
#define _USE_FORWARD 0
/* ... */
#define _CODE_PAGE 850
/* ... */
#define _USE_LFN 0
#define _MAX_LFN 255
/* ... */
#define _LFN_UNICODE 0
/* ... */
#define _STRF_ENCODE 3
/* ... */
#define _FS_RPATH 0
/* ... */
/* ... */
#define _VOLUMES 2
#define _STR_VOLUME_ID 0
#define _VOLUME_STRS "RAM","NAND","CF","SD","SD2","USB","USB2","USB3"
/* ... */
#define _MULTI_PARTITION 0
/* ... */
#define _MIN_SS 512
#define _MAX_SS 512
/* ... */
#define _USE_TRIM 0
/* ... */
#define _FS_NOFSINFO 0
/* ... */
/* ... */
#define _FS_TINY 0
/* ... */
#define _FS_EXFAT 0
/* ... */
#define _FS_NORTC 0
#define _NORTC_MON 1
#define _NORTC_MDAY 1
#define _NORTC_YEAR 2016
/* ... */
#define _FS_LOCK 2
/* ... */
#define _FS_REENTRANT 0
33 defines
#if _FS_REENTRANT
#include "cmsis_os.h"
#define _FS_TIMEOUT 1000
#define _SYNC_t osSemaphoreId
/* ... */#endif
/* ... */
#if _USE_LFN == 3
#if !defined(ff_malloc) || !defined(ff_free)
#include <stdlib.h>
#endif
#if !defined(ff_malloc)
#define ff_malloc malloc
#endif
#if !defined(ff_free)
#define ff_free free
#endif/* ... */
#endif