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