1 #ifndef RT_CONFIG_H__
2 #define RT_CONFIG_H__
3 
4 /* RT-Thread Kernel */
5 
6 /* klibc options */
7 
8 /* rt_vsnprintf options */
9 
10 /* end of rt_vsnprintf options */
11 
12 /* rt_vsscanf options */
13 
14 /* end of rt_vsscanf options */
15 
16 /* rt_memset options */
17 
18 /* end of rt_memset options */
19 
20 /* rt_memcpy options */
21 
22 /* end of rt_memcpy options */
23 
24 /* rt_memmove options */
25 
26 /* end of rt_memmove options */
27 
28 /* rt_memcmp options */
29 
30 /* end of rt_memcmp options */
31 
32 /* rt_strstr options */
33 
34 /* end of rt_strstr options */
35 
36 /* rt_strcasecmp options */
37 
38 /* end of rt_strcasecmp options */
39 
40 /* rt_strncpy options */
41 
42 /* end of rt_strncpy options */
43 
44 /* rt_strcpy options */
45 
46 /* end of rt_strcpy options */
47 
48 /* rt_strncmp options */
49 
50 /* end of rt_strncmp options */
51 
52 /* rt_strcmp options */
53 
54 /* end of rt_strcmp options */
55 
56 /* rt_strlen options */
57 
58 /* end of rt_strlen options */
59 
60 /* rt_strnlen options */
61 
62 /* end of rt_strnlen options */
63 /* end of klibc options */
64 #define RT_NAME_MAX 6
65 #define RT_CPUS_NR 1
66 #define RT_ALIGN_SIZE 8
67 #define RT_THREAD_PRIORITY_32
68 #define RT_THREAD_PRIORITY_MAX 32
69 #define RT_TICK_PER_SECOND 100
70 #define RT_USING_OVERFLOW_CHECK
71 #define RT_USING_HOOK
72 #define RT_HOOK_USING_FUNC_PTR
73 #define RT_USING_IDLE_HOOK
74 #define RT_IDLE_HOOK_LIST_SIZE 4
75 #define IDLE_THREAD_STACK_SIZE 256
76 #define RT_USING_TIMER_SOFT
77 #define RT_TIMER_THREAD_PRIO 4
78 #define RT_TIMER_THREAD_STACK_SIZE 512
79 
80 /* kservice options */
81 
82 /* end of kservice options */
83 #define RT_USING_DEBUG
84 #define RT_DEBUGING_ASSERT
85 #define RT_DEBUGING_COLOR
86 #define RT_DEBUGING_CONTEXT
87 
88 /* Inter-Thread communication */
89 
90 #define RT_USING_SEMAPHORE
91 #define RT_USING_MUTEX
92 #define RT_USING_EVENT
93 #define RT_USING_MAILBOX
94 #define RT_USING_MESSAGEQUEUE
95 /* end of Inter-Thread communication */
96 
97 /* Memory Management */
98 
99 #define RT_USING_MEMPOOL
100 #define RT_USING_SMALL_MEM
101 #define RT_USING_MEMHEAP
102 #define RT_MEMHEAP_FAST_MODE
103 #define RT_USING_SMALL_MEM_AS_HEAP
104 #define RT_USING_HEAP
105 /* end of Memory Management */
106 #define RT_USING_DEVICE
107 #define RT_USING_CONSOLE
108 #define RT_CONSOLEBUF_SIZE 128
109 #define RT_CONSOLE_DEVICE_NAME "uart"
110 #define RT_VER_NUM 0x50201
111 #define RT_BACKTRACE_LEVEL_MAX_NR 32
112 /* end of RT-Thread Kernel */
113 #define RT_USING_HW_ATOMIC
114 #define RT_USING_CPU_FFS
115 #define ARCH_ARM
116 #define ARCH_ARM_CORTEX_M
117 #define ARCH_ARM_CORTEX_M3
118 
119 /* RT-Thread Components */
120 
121 #define RT_USING_COMPONENTS_INIT
122 #define RT_USING_USER_MAIN
123 #define RT_MAIN_THREAD_STACK_SIZE 2048
124 #define RT_MAIN_THREAD_PRIORITY 10
125 #define RT_USING_MSH
126 #define RT_USING_FINSH
127 #define FINSH_USING_MSH
128 #define FINSH_THREAD_NAME "tshell"
129 #define FINSH_THREAD_PRIORITY 20
130 #define FINSH_THREAD_STACK_SIZE 4096
131 #define FINSH_USING_HISTORY
132 #define FINSH_HISTORY_LINES 5
133 #define FINSH_USING_SYMTAB
134 #define FINSH_CMD_SIZE 80
135 #define MSH_USING_BUILT_IN_COMMANDS
136 #define FINSH_USING_DESCRIPTION
137 #define FINSH_ARG_MAX 10
138 #define FINSH_USING_OPTION_COMPLETION
139 
140 /* DFS: device virtual file system */
141 
142 #define RT_USING_DFS
143 #define DFS_USING_POSIX
144 #define DFS_USING_WORKDIR
145 #define DFS_FD_MAX 4
146 #define RT_USING_DFS_V1
147 #define DFS_FILESYSTEMS_MAX 2
148 #define DFS_FILESYSTEM_TYPES_MAX 4
149 #define RT_USING_DFS_ELMFAT
150 
151 /* elm-chan's FatFs, Generic FAT Filesystem Module */
152 
153 #define RT_DFS_ELM_CODE_PAGE 437
154 #define RT_DFS_ELM_WORD_ACCESS
155 #define RT_DFS_ELM_USE_LFN_3
156 #define RT_DFS_ELM_USE_LFN 3
157 #define RT_DFS_ELM_LFN_UNICODE_0
158 #define RT_DFS_ELM_LFN_UNICODE 0
159 #define RT_DFS_ELM_MAX_LFN 64
160 #define RT_DFS_ELM_DRIVES 2
161 #define RT_DFS_ELM_MAX_SECTOR_SIZE 512
162 #define RT_DFS_ELM_REENTRANT
163 #define RT_DFS_ELM_MUTEX_TIMEOUT 3000
164 /* end of elm-chan's FatFs, Generic FAT Filesystem Module */
165 #define RT_USING_DFS_DEVFS
166 /* end of DFS: device virtual file system */
167 
168 /* Device Drivers */
169 
170 #define RT_USING_DEVICE_IPC
171 #define RT_UNAMED_PIPE_NUMBER 64
172 #define RT_USING_SERIAL
173 #define RT_USING_SERIAL_V1
174 #define RT_SERIAL_USING_DMA
175 #define RT_SERIAL_RB_BUFSZ 64
176 #define RT_USING_PIN
177 /* end of Device Drivers */
178 
179 /* C/C++ and POSIX layer */
180 
181 /* ISO-ANSI C layer */
182 
183 /* Timezone and Daylight Saving Time */
184 
185 #define RT_LIBC_USING_LIGHT_TZ_DST
186 #define RT_LIBC_TZ_DEFAULT_HOUR 8
187 #define RT_LIBC_TZ_DEFAULT_MIN 0
188 #define RT_LIBC_TZ_DEFAULT_SEC 0
189 /* end of Timezone and Daylight Saving Time */
190 /* end of ISO-ANSI C layer */
191 
192 /* POSIX (Portable Operating System Interface) layer */
193 
194 
195 /* Interprocess Communication (IPC) */
196 
197 
198 /* Socket is in the 'Network' category */
199 
200 /* end of Interprocess Communication (IPC) */
201 /* end of POSIX (Portable Operating System Interface) layer */
202 /* end of C/C++ and POSIX layer */
203 
204 /* Network */
205 
206 /* end of Network */
207 
208 /* Memory protection */
209 
210 /* end of Memory protection */
211 
212 /* Utilities */
213 
214 /* end of Utilities */
215 
216 /* Using USB legacy version */
217 
218 /* end of Using USB legacy version */
219 /* end of RT-Thread Components */
220 
221 /* RT-Thread Utestcases */
222 
223 /* end of RT-Thread Utestcases */
224 
225 /* RT-Thread online packages */
226 
227 /* IoT - internet of things */
228 
229 
230 /* Wi-Fi */
231 
232 /* Marvell WiFi */
233 
234 /* end of Marvell WiFi */
235 
236 /* Wiced WiFi */
237 
238 /* end of Wiced WiFi */
239 
240 /* CYW43012 WiFi */
241 
242 /* end of CYW43012 WiFi */
243 
244 /* BL808 WiFi */
245 
246 /* end of BL808 WiFi */
247 
248 /* CYW43439 WiFi */
249 
250 /* end of CYW43439 WiFi */
251 /* end of Wi-Fi */
252 
253 /* IoT Cloud */
254 
255 /* end of IoT Cloud */
256 /* end of IoT - internet of things */
257 
258 /* security packages */
259 
260 /* end of security packages */
261 
262 /* language packages */
263 
264 /* JSON: JavaScript Object Notation, a lightweight data-interchange format */
265 
266 /* end of JSON: JavaScript Object Notation, a lightweight data-interchange format */
267 
268 /* XML: Extensible Markup Language */
269 
270 /* end of XML: Extensible Markup Language */
271 /* end of language packages */
272 
273 /* multimedia packages */
274 
275 /* LVGL: powerful and easy-to-use embedded GUI library */
276 
277 /* end of LVGL: powerful and easy-to-use embedded GUI library */
278 
279 /* u8g2: a monochrome graphic library */
280 
281 /* end of u8g2: a monochrome graphic library */
282 /* end of multimedia packages */
283 
284 /* tools packages */
285 
286 /* end of tools packages */
287 
288 /* system packages */
289 
290 /* enhanced kernel services */
291 
292 /* end of enhanced kernel services */
293 
294 /* acceleration: Assembly language or algorithmic acceleration packages */
295 
296 /* end of acceleration: Assembly language or algorithmic acceleration packages */
297 
298 /* CMSIS: ARM Cortex-M Microcontroller Software Interface Standard */
299 
300 /* end of CMSIS: ARM Cortex-M Microcontroller Software Interface Standard */
301 
302 /* Micrium: Micrium software products porting for RT-Thread */
303 
304 /* end of Micrium: Micrium software products porting for RT-Thread */
305 /* end of system packages */
306 
307 /* peripheral libraries and drivers */
308 
309 /* HAL & SDK Drivers */
310 
311 /* STM32 HAL & SDK Drivers */
312 
313 /* end of STM32 HAL & SDK Drivers */
314 
315 /* Infineon HAL Packages */
316 
317 /* end of Infineon HAL Packages */
318 
319 /* Kendryte SDK */
320 
321 /* end of Kendryte SDK */
322 
323 /* WCH HAL & SDK Drivers */
324 
325 /* end of WCH HAL & SDK Drivers */
326 
327 /* AT32 HAL & SDK Drivers */
328 
329 /* end of AT32 HAL & SDK Drivers */
330 
331 /* HC32 DDL Drivers */
332 
333 /* end of HC32 DDL Drivers */
334 
335 /* NXP HAL & SDK Drivers */
336 
337 #define PKG_USING_NXP_LPC_DRIVER
338 #define PKG_USING_NXP_LPC_DRIVER_LATEST_VERSION
339 /* end of NXP HAL & SDK Drivers */
340 /* end of HAL & SDK Drivers */
341 
342 /* sensors drivers */
343 
344 /* end of sensors drivers */
345 
346 /* touch drivers */
347 
348 /* end of touch drivers */
349 /* end of peripheral libraries and drivers */
350 
351 /* AI packages */
352 
353 /* end of AI packages */
354 
355 /* Signal Processing and Control Algorithm Packages */
356 
357 /* end of Signal Processing and Control Algorithm Packages */
358 
359 /* miscellaneous packages */
360 
361 /* project laboratory */
362 
363 /* end of project laboratory */
364 
365 /* samples: kernel and components samples */
366 
367 /* end of samples: kernel and components samples */
368 
369 /* entertainment: terminal games and other interesting software packages */
370 
371 /* end of entertainment: terminal games and other interesting software packages */
372 /* end of miscellaneous packages */
373 
374 /* Arduino libraries */
375 
376 
377 /* Projects and Demos */
378 
379 /* end of Projects and Demos */
380 
381 /* Sensors */
382 
383 /* end of Sensors */
384 
385 /* Display */
386 
387 /* end of Display */
388 
389 /* Timing */
390 
391 /* end of Timing */
392 
393 /* Data Processing */
394 
395 /* end of Data Processing */
396 
397 /* Data Storage */
398 
399 /* Communication */
400 
401 /* end of Communication */
402 
403 /* Device Control */
404 
405 /* end of Device Control */
406 
407 /* Other */
408 
409 /* end of Other */
410 
411 /* Signal IO */
412 
413 /* end of Signal IO */
414 
415 /* Uncategorized */
416 
417 /* end of Arduino libraries */
418 /* end of RT-Thread online packages */
419 #define SOC_LPC178
420 
421 /* Hardware Drivers Config */
422 
423 #define SOC_LPC178X
424 
425 /* On-chip Peripheral Drivers */
426 
427 #define BSP_USING_UART0
428 /* end of On-chip Peripheral Drivers */
429 
430 /* Onboard Peripheral Drivers */
431 
432 /* Board extended module Drivers */
433 
434 /* end of Hardware Drivers Config */
435 
436 #endif
437