libDaisy
Hardware Library for Daisy
Loading...
Searching...
No Matches
ffconf.h
Go to the documentation of this file.
1/* USER CODE BEGIN Header */
19/* USER CODE END Header */
20
21#ifndef _FFCONF
22#define _FFCONF 68300
24/*-----------------------------------------------------------------------------/
25/ Additional user header to be used
26/-----------------------------------------------------------------------------*/
27
28#include "util/bsp_sd_diskio.h"
29
30/*-----------------------------------------------------------------------------/
31/ Function Configurations
32/-----------------------------------------------------------------------------*/
33
34#define _FS_READONLY \
35 0
41#define _FS_MINIMIZE \
42 0
51#define _USE_STRFUNC \
52 2
60#define _USE_FIND \
61 0
64#define _USE_MKFS \
65 1
67#define _USE_FASTSEEK \
68 1
70#define _USE_EXPAND \
71 0
73#define _USE_CHMOD \
74 0
77#define _USE_LABEL \
78 0
81#define _USE_FORWARD \
82 0
84/*-----------------------------------------------------------------------------/
85/ Locale and Namespace Configurations
86/-----------------------------------------------------------------------------*/
87
88#define _CODE_PAGE \
89 850
116#define _USE_LFN 1
117#define _MAX_LFN \
118 255
134#define _LFN_UNICODE \
135 0
140#define _STRF_ENCODE \
141 3
151#define _FS_RPATH \
152 2
160/*---------------------------------------------------------------------------/
161/ Drive/Volume Configurations
162/----------------------------------------------------------------------------*/
163
164#define _VOLUMES 2
166/* USER CODE BEGIN Volumes */
167#define _STR_VOLUME_ID \
168 0
170#define _VOLUME_STRS \
171 "RAM", "NAND", "CF", "SD1", "SD2", "USB1", "USB2", \
172 "USB3"
177/* USER CODE END Volumes */
178
179#define _MULTI_PARTITION \
180 0
187#define _MIN_SS 512
188#define _MAX_SS \
189 512
197#define _USE_TRIM \
198 0
202#define _FS_NOFSINFO \
203 0
214/*---------------------------------------------------------------------------/
215/ System Configurations
216/----------------------------------------------------------------------------*/
217
218#define _FS_TINY \
219 0
225#define _FS_EXFAT \
226 0
230#define _FS_NORTC 0
231#define _NORTC_MON 6
232#define _NORTC_MDAY 4
233#define _NORTC_YEAR \
234 2015
244#define _FS_LOCK \
245 0
256#define _FS_REENTRANT 0
257#define _FS_TIMEOUT 1000
258#define _SYNC_t \
259 osSemaphoreId
277#if !defined(ff_malloc) && !defined(ff_free)
278#include <stdlib.h>
279#define ff_malloc \
280 malloc
281#define ff_free \
282 free
283#endif
284
285#endif /* _FFCONF */