STM32 Bootloader
Customizable Bootloader for STM32 microcontrollers
ffconf.h
Go to the documentation of this file.
1 
16 #ifndef _FFCONF
17 #define _FFCONF 68300
19 #ifdef __cplusplus
20 extern "C" {
21 #endif
22 
30 /*-----------------------------------------------------------------------------/
31 / Additional user header to be used
32 /-----------------------------------------------------------------------------*/
33 
34 /*-----------------------------------------------------------------------------/
35 / Function Configurations
36 /-----------------------------------------------------------------------------*/
37 
48 #define _FS_READONLY 1
49 
60 #define _FS_MINIMIZE 0
61 
70 #define _USE_STRFUNC 2
71 
80 #define _USE_FIND 0
81 
88 #define _USE_MKFS 1
89 
96 #define _USE_FASTSEEK 1
97 
104 #define _USE_EXPAND 0
105 
115 #define _USE_CHMOD 0
116 
124 #define _USE_LABEL 0
125 
132 #define _USE_FORWARD 0
133 
134 /*-----------------------------------------------------------------------------/
135 / Locale and Namespace Configurations
136 /-----------------------------------------------------------------------------*/
137 
167 #define _CODE_PAGE 850
168 
186 #define _USE_LFN 1
187 
189 #define _MAX_LFN 255
190 
201 #define _LFN_UNICODE 0
202 
215 #define _STRF_ENCODE 3
216 
224 #define _FS_RPATH 0
225 
226 /*---------------------------------------------------------------------------/
227 / Drive/Volume Configurations
228 /----------------------------------------------------------------------------*/
229 
231 #define _VOLUMES 1
232 
242 #define _STR_VOLUME_ID 0
243 
250 #define _VOLUME_STRS "RAM", "NAND", "CF", "SD1", "SD2", "USB1", "USB2", "USB3"
251 
264 #define _MULTI_PARTITION 0
275 #define _MIN_SS 512
276 
287 #define _MAX_SS 512
288 
298 #define _USE_TRIM 0
299 
312 #define _FS_NOFSINFO 0
313 
314 /*---------------------------------------------------------------------------/
315 / System Configurations
316 /----------------------------------------------------------------------------*/
317 
329 #define _FS_TINY 0
330 
340 #define _FS_EXFAT 0
341 
355 #define _FS_NORTC 0
356 
358 #define _NORTC_MON 6
359 
361 #define _NORTC_MDAY 4
362 
364 #define _NORTC_YEAR 2018
365 
380 #define _FS_LOCK 0
381 
402 #define _FS_REENTRANT 0
403 
405 #define _FS_TIMEOUT 1000
406 
408 #define _SYNC_t osSemaphoreId
409 
410 /* Define the ff_malloc ff_free macros as standard malloc free */
411 #if !defined(ff_malloc) && !defined(ff_free)
412 #include <stdlib.h>
414 #define ff_malloc malloc
416 #define ff_free free
417 #endif
418 
424 #ifdef __cplusplus
425 }
426 #endif
427 
428 #endif