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 8
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 1000
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_SMALL_MEM_AS_HEAP
102 #define RT_USING_HEAP
103 /* end of Memory Management */
104 #define RT_USING_DEVICE
105 #define RT_USING_CONSOLE
106 #define RT_CONSOLEBUF_SIZE 128
107 #define RT_CONSOLE_DEVICE_NAME "uart0"
108 #define RT_VER_NUM 0x50201
109 #define RT_BACKTRACE_LEVEL_MAX_NR 32
110 /* end of RT-Thread Kernel */
111 #define ARCH_ARM
112 #define ARCH_ARM_CORTEX_M
113 #define ARCH_ARM_CORTEX_M0
114 
115 /* RT-Thread Components */
116 
117 #define RT_USING_COMPONENTS_INIT
118 #define RT_USING_USER_MAIN
119 #define RT_MAIN_THREAD_STACK_SIZE 2048
120 #define RT_MAIN_THREAD_PRIORITY 10
121 #define RT_USING_MSH
122 #define RT_USING_FINSH
123 #define FINSH_USING_MSH
124 #define FINSH_THREAD_NAME "tshell"
125 #define FINSH_THREAD_PRIORITY 20
126 #define FINSH_THREAD_STACK_SIZE 4096
127 #define FINSH_USING_HISTORY
128 #define FINSH_HISTORY_LINES 5
129 #define FINSH_USING_SYMTAB
130 #define FINSH_CMD_SIZE 80
131 #define MSH_USING_BUILT_IN_COMMANDS
132 #define FINSH_USING_DESCRIPTION
133 #define FINSH_ARG_MAX 10
134 #define FINSH_USING_OPTION_COMPLETION
135 
136 /* DFS: device virtual file system */
137 
138 /* end of DFS: device virtual file system */
139 
140 /* Device Drivers */
141 
142 #define RT_USING_DEVICE_IPC
143 #define RT_UNAMED_PIPE_NUMBER 64
144 #define RT_USING_SERIAL
145 #define RT_USING_SERIAL_V1
146 #define RT_SERIAL_USING_DMA
147 #define RT_SERIAL_RB_BUFSZ 64
148 #define RT_USING_PIN
149 /* end of Device Drivers */
150 
151 /* C/C++ and POSIX layer */
152 
153 /* ISO-ANSI C layer */
154 
155 /* Timezone and Daylight Saving Time */
156 
157 #define RT_LIBC_USING_LIGHT_TZ_DST
158 #define RT_LIBC_TZ_DEFAULT_HOUR 8
159 #define RT_LIBC_TZ_DEFAULT_MIN 0
160 #define RT_LIBC_TZ_DEFAULT_SEC 0
161 /* end of Timezone and Daylight Saving Time */
162 /* end of ISO-ANSI C layer */
163 
164 /* POSIX (Portable Operating System Interface) layer */
165 
166 
167 /* Interprocess Communication (IPC) */
168 
169 
170 /* Socket is in the 'Network' category */
171 
172 /* end of Interprocess Communication (IPC) */
173 /* end of POSIX (Portable Operating System Interface) layer */
174 /* end of C/C++ and POSIX layer */
175 
176 /* Network */
177 
178 /* end of Network */
179 
180 /* Memory protection */
181 
182 /* end of Memory protection */
183 
184 /* Utilities */
185 
186 /* end of Utilities */
187 
188 /* Using USB legacy version */
189 
190 /* end of Using USB legacy version */
191 /* end of RT-Thread Components */
192 
193 /* RT-Thread Utestcases */
194 
195 /* end of RT-Thread Utestcases */
196 
197 /* RT-Thread online packages */
198 
199 /* IoT - internet of things */
200 
201 
202 /* Wi-Fi */
203 
204 /* Marvell WiFi */
205 
206 /* end of Marvell WiFi */
207 
208 /* Wiced WiFi */
209 
210 /* end of Wiced WiFi */
211 
212 /* CYW43012 WiFi */
213 
214 /* end of CYW43012 WiFi */
215 
216 /* BL808 WiFi */
217 
218 /* end of BL808 WiFi */
219 
220 /* CYW43439 WiFi */
221 
222 /* end of CYW43439 WiFi */
223 /* end of Wi-Fi */
224 
225 /* IoT Cloud */
226 
227 /* end of IoT Cloud */
228 /* end of IoT - internet of things */
229 
230 /* security packages */
231 
232 /* end of security packages */
233 
234 /* language packages */
235 
236 /* JSON: JavaScript Object Notation, a lightweight data-interchange format */
237 
238 /* end of JSON: JavaScript Object Notation, a lightweight data-interchange format */
239 
240 /* XML: Extensible Markup Language */
241 
242 /* end of XML: Extensible Markup Language */
243 /* end of language packages */
244 
245 /* multimedia packages */
246 
247 /* LVGL: powerful and easy-to-use embedded GUI library */
248 
249 /* end of LVGL: powerful and easy-to-use embedded GUI library */
250 
251 /* u8g2: a monochrome graphic library */
252 
253 /* end of u8g2: a monochrome graphic library */
254 /* end of multimedia packages */
255 
256 /* tools packages */
257 
258 /* end of tools packages */
259 
260 /* system packages */
261 
262 /* enhanced kernel services */
263 
264 /* end of enhanced kernel services */
265 
266 /* acceleration: Assembly language or algorithmic acceleration packages */
267 
268 /* end of acceleration: Assembly language or algorithmic acceleration packages */
269 
270 /* CMSIS: ARM Cortex-M Microcontroller Software Interface Standard */
271 
272 /* end of CMSIS: ARM Cortex-M Microcontroller Software Interface Standard */
273 
274 /* Micrium: Micrium software products porting for RT-Thread */
275 
276 /* end of Micrium: Micrium software products porting for RT-Thread */
277 /* end of system packages */
278 
279 /* peripheral libraries and drivers */
280 
281 /* HAL & SDK Drivers */
282 
283 /* STM32 HAL & SDK Drivers */
284 
285 /* end of STM32 HAL & SDK Drivers */
286 
287 /* Infineon HAL Packages */
288 
289 /* end of Infineon HAL Packages */
290 
291 /* Kendryte SDK */
292 
293 /* end of Kendryte SDK */
294 
295 /* WCH HAL & SDK Drivers */
296 
297 /* end of WCH HAL & SDK Drivers */
298 
299 /* AT32 HAL & SDK Drivers */
300 
301 /* end of AT32 HAL & SDK Drivers */
302 
303 /* HC32 DDL Drivers */
304 
305 /* end of HC32 DDL Drivers */
306 
307 /* NXP HAL & SDK Drivers */
308 
309 /* end of NXP HAL & SDK Drivers */
310 /* end of HAL & SDK Drivers */
311 
312 /* sensors drivers */
313 
314 /* end of sensors drivers */
315 
316 /* touch drivers */
317 
318 /* end of touch drivers */
319 /* end of peripheral libraries and drivers */
320 
321 /* AI packages */
322 
323 /* end of AI packages */
324 
325 /* Signal Processing and Control Algorithm Packages */
326 
327 /* end of Signal Processing and Control Algorithm Packages */
328 
329 /* miscellaneous packages */
330 
331 /* project laboratory */
332 
333 /* end of project laboratory */
334 
335 /* samples: kernel and components samples */
336 
337 /* end of samples: kernel and components samples */
338 
339 /* entertainment: terminal games and other interesting software packages */
340 
341 /* end of entertainment: terminal games and other interesting software packages */
342 /* end of miscellaneous packages */
343 
344 /* Arduino libraries */
345 
346 
347 /* Projects and Demos */
348 
349 /* end of Projects and Demos */
350 
351 /* Sensors */
352 
353 /* end of Sensors */
354 
355 /* Display */
356 
357 /* end of Display */
358 
359 /* Timing */
360 
361 /* end of Timing */
362 
363 /* Data Processing */
364 
365 /* end of Data Processing */
366 
367 /* Data Storage */
368 
369 /* Communication */
370 
371 /* end of Communication */
372 
373 /* Device Control */
374 
375 /* end of Device Control */
376 
377 /* Other */
378 
379 /* end of Other */
380 
381 /* Signal IO */
382 
383 /* end of Signal IO */
384 
385 /* Uncategorized */
386 
387 /* end of Arduino libraries */
388 /* end of RT-Thread online packages */
389 
390 /* Hardware Drivers Config */
391 
392 #define MCU_HC32L196
393 
394 /* Onboard Peripheral Drivers */
395 
396 /* On-chip Peripheral Drivers */
397 
398 #define BSP_USING_GPIO
399 #define BSP_USING_UART
400 #define BSP_USING_UART0
401 #define BSP_USING_UART1
402 /* end of On-chip Peripheral Drivers */
403 
404 /* Board extended module Drivers */
405 
406 /* end of Hardware Drivers Config */
407 
408 #endif
409