Select one of the symbols to view example projects that use it.
 
Outline
...
...
...
...
#define FX_USER_H
Files
loading...
SourceVuSTM32 Libraries and SamplesUx_Host_MSCFileX/App/fx_user.h
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
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
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
/**************************************************************************/ /* */ /* Copyright (c) Microsoft Corporation. All rights reserved. */ /* */ /* This software is licensed under the Microsoft Software License */ /* Terms for Microsoft Azure RTOS. Full text of the license can be */ /* found in the LICENSE file at https://aka.ms/AzureRTOS_EULA */ /* and in the root directory of this software. */ /* */... /**************************************************************************/ /**************************************************************************/ /**************************************************************************/ /** */ /** FileX Component */ /** */ /** User Specific */ /** */... /**************************************************************************/ /**************************************************************************/ /**************************************************************************/ /* */ /* PORT SPECIFIC C INFORMATION RELEASE */ /* */ /* fx_user.h PORTABLE C */ /* 6.1.5 */ /* */ /* AUTHOR */ /* */ /* William E. Lamie, Microsoft Corporation */ /* */ /* DESCRIPTION */ /* */ /* This file contains user defines for configuring FileX in specific */ /* ways. This file will have an effect only if the application and */ /* FileX library are built with FX_INCLUDE_USER_DEFINE_FILE defined. */ /* Note that all the defines in this file may also be made on the */ /* command line when building FileX library and application objects. */ /* */ /* RELEASE HISTORY */ /* */ /* DATE NAME DESCRIPTION */ /* */ /* 05-19-2020 William E. Lamie Initial Version 6.0 */ /* 09-30-2020 William E. Lamie Modified comment(s), and */ /* added product constants */ /* to enable code */ /* size optimization, */ /* resulting in version 6.1 */ /* 03-02-2021 William E. Lamie Modified comment(s), and */ /* added standalone support, */ /* resulting in version 6.1.5 */ /* */... /**************************************************************************/ #ifndef FX_USER_H #define FX_USER_H /* Define various build options for the FileX port. The application should either make changes here by commenting or un-commenting the conditional compilation defined OR supply the defines though the compiler's equivalent of the -D option. *//* ... */ /* Override various options with default values already assigned in fx_api.h or fx_port.h. Please also refer to fx_port.h for descriptions on each of these options. *//* ... */ /* Defined, Filex will be used in standalone mode (without ThreadX) */ /* #define FX_STANDALONE_ENABLE */ /* Defined, the direct read sector update of cache is disabled. */ /* #define FX_DISABLE_DIRECT_DATA_READ_CACHE_FILL */ /* Determine if error checking is desired. If so, map API functions to the appropriate error checking front-ends. Otherwise, map API functions to the core functions that actually perform the work. Note: error checking is enabled by default. *//* ... */ /* #define FX_DISABLE_ERROR_CHECKING */ /* Defined, FileX does not update already opened files. */ /* #define FX_DONT_UPDATE_OPEN_FILES */ /* Defined, enables 64-bits sector addresses used in I/O driver. */ /* #define FX_DRIVER_USE_64BIT_LBA */ /* Defined, FileX is able to access exFAT file system. FileX supports the Microsoft exFAT file system format. Your use of exFAT technology in your products requires a separate license from Microsoft. Please see the following link for further details on exFAT licensing: https://www.microsoft.com/en-us/legal/intellectualproperty/mtl/exfat-licensing.aspx *//* ... */ /* #define FX_ENABLE_EXFAT */ /* Defined, enables FileX fault tolerant service. */ /* #define FX_ENABLE_FAULT_TOLERANT */ /* Defines the size in bytes of the bit map used to update the secondary FAT sectors. The larger the value the less unnecessary secondary FAT sector writes. *//* ... */ /* #define FX_FAT_MAP_SIZE 128 */ /* Defined, data sector write requests are flushed immediately to the driver. */ /* #define FX_FAULT_TOLERANT */ /* Define byte offset in boot sector where the cluster number of the Fault Tolerant Log file is. Note that this field (byte 116 to 119) is marked as reserved by FAT 12/16/32/exFAT specification. *//* ... */ /* #define FX_FAULT_TOLERANT_BOOT_INDEX 116 */ /* Defined, data sector write requests are flushed immediately to the driver. */ /* #define FX_FAULT_TOLERANT_DATA */ /* Defines the number of entries in the FAT cache. */ /* #define FX_MAX_FAT_CACHE 16 */ /* Defines the maximum size of long file names supported by FileX. The minimum value is 13 and the maximum value is 256. *//* ... */ /* #define FX_MAX_LAST_NAME_LEN 256 */ /* #define FX_MAX_LONG_NAME_LEN 256 */ /* Defines the maximum number of logical sectors that can be cached by FileX. The cache memory supplied to FileX at fx_media_open determines how many sectors can actually be cached. *//* ... */ /* #define FX_MAX_SECTOR_CACHE 256 */ /* Defined, the file search cache optimization is disabled. */ /* #define FX_MEDIA_DISABLE_SEARCH_CACHE */ /* Defined, gathering of media statistics is disabled. */ /* #define FX_MEDIA_STATISTICS_DISABLE */ /* Defined, local path logic is disabled. */ /* #define FX_NO_LOCAL_PATH */ /* Defined, FileX is built without update to the time parameters. */ /* #define FX_NO_TIMER */ /* Defined, renaming inherits path information. */ /* #define FX_RENAME_PATH_INHERIT */ /* Defined, legacy single open logic for the same file is enabled. */ /* #define FX_SINGLE_OPEN_LEGACY */ /* Define FileX internal protection macros. If FX_SINGLE_THREAD is defined, these protection macros are effectively disabled. However, for multi-thread uses, the macros are setup to utilize a ThreadX mutex for multiple thread access control into an open media. *//* ... */ /* #define FX_SINGLE_THREAD */ /* Defines the number of seconds the time parameters are updated in FileX. */ /* #define FX_UPDATE_RATE_IN_SECONDS 10 */ /* Defines the number of ThreadX timer ticks required to achieve the update rate specified by FX_UPDATE_RATE_IN_SECONDS defined previously. By default, the ThreadX timer tick is 10ms, so the default value for this constant is 1000. *//* ... */ /* #define FX_UPDATE_RATE_IN_TICKS 1000 */ /* If defined, cache is disabled. */ /*#define FX_DISABLE_CACHE */ /* If defined, file close is disabled. */ /* #define FX_DISABLE_FILE_CLOSE */ /* If defined, fast open is disabled. */ /* #define FX_DISABLE_FAST_OPEN */ /* If defined, force memory operations are disabled. */ /* #define FX_DISABLE_FORCE_MEMORY_OPERATION */ /* If defined, build options is disabled. */ /* #define FX_DISABLE_BUILD_OPTIONS */ /* If defined, one line function is disabled. */ /* #define FX_DISABLE_ONE_LINE_FUNCTION */ /* If defined, FAT entry refresh is disabled. */ /* #define FX_DISABLE_FAT_ENTRY_REFRESH */ /* If defined, consecutive detect is disabled. */ /* #define FX_DISABLE_CONSECUTIVE_DETECT */ /* ... */ ...#endif
Details
Show:
from
Types: Columns:
This file uses the notable symbols shown below. Click anywhere in the file to view more details.