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