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_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 "uart1"
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_M4
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 /* end of DFS: device virtual file system */
143 
144 /* Device Drivers */
145 
146 #define RT_USING_DEVICE_IPC
147 #define RT_UNAMED_PIPE_NUMBER 64
148 #define RT_USING_SERIAL
149 #define RT_USING_SERIAL_V2
150 #define RT_SERIAL_BUF_STRATEGY_OVERWRITE
151 #define RT_SERIAL_USING_DMA
152 #define RT_USING_PIN
153 /* end of Device Drivers */
154 
155 /* C/C++ and POSIX layer */
156 
157 /* ISO-ANSI C layer */
158 
159 /* Timezone and Daylight Saving Time */
160 
161 #define RT_LIBC_USING_LIGHT_TZ_DST
162 #define RT_LIBC_TZ_DEFAULT_HOUR 8
163 #define RT_LIBC_TZ_DEFAULT_MIN 0
164 #define RT_LIBC_TZ_DEFAULT_SEC 0
165 /* end of Timezone and Daylight Saving Time */
166 /* end of ISO-ANSI C layer */
167 
168 /* POSIX (Portable Operating System Interface) layer */
169 
170 
171 /* Interprocess Communication (IPC) */
172 
173 
174 /* Socket is in the 'Network' category */
175 
176 /* end of Interprocess Communication (IPC) */
177 /* end of POSIX (Portable Operating System Interface) layer */
178 /* end of C/C++ and POSIX layer */
179 
180 /* Network */
181 
182 /* end of Network */
183 
184 /* Memory protection */
185 
186 /* end of Memory protection */
187 
188 /* Utilities */
189 
190 /* end of Utilities */
191 
192 /* Using USB legacy version */
193 
194 /* end of Using USB legacy version */
195 /* end of RT-Thread Components */
196 
197 /* RT-Thread Utestcases */
198 
199 /* end of RT-Thread Utestcases */
200 
201 /* RT-Thread online packages */
202 
203 /* IoT - internet of things */
204 
205 
206 /* Wi-Fi */
207 
208 /* Marvell WiFi */
209 
210 /* end of Marvell WiFi */
211 
212 /* Wiced WiFi */
213 
214 /* end of Wiced WiFi */
215 
216 /* CYW43012 WiFi */
217 
218 /* end of CYW43012 WiFi */
219 
220 /* BL808 WiFi */
221 
222 /* end of BL808 WiFi */
223 
224 /* CYW43439 WiFi */
225 
226 /* end of CYW43439 WiFi */
227 /* end of Wi-Fi */
228 
229 /* IoT Cloud */
230 
231 /* end of IoT Cloud */
232 /* end of IoT - internet of things */
233 
234 /* security packages */
235 
236 /* end of security packages */
237 
238 /* language packages */
239 
240 /* JSON: JavaScript Object Notation, a lightweight data-interchange format */
241 
242 /* end of JSON: JavaScript Object Notation, a lightweight data-interchange format */
243 
244 /* XML: Extensible Markup Language */
245 
246 /* end of XML: Extensible Markup Language */
247 /* end of language packages */
248 
249 /* multimedia packages */
250 
251 /* LVGL: powerful and easy-to-use embedded GUI library */
252 
253 /* end of LVGL: powerful and easy-to-use embedded GUI library */
254 
255 /* u8g2: a monochrome graphic library */
256 
257 /* end of u8g2: a monochrome graphic library */
258 /* end of multimedia packages */
259 
260 /* tools packages */
261 
262 /* end of tools packages */
263 
264 /* system packages */
265 
266 /* enhanced kernel services */
267 
268 /* end of enhanced kernel services */
269 
270 /* acceleration: Assembly language or algorithmic acceleration packages */
271 
272 /* end of acceleration: Assembly language or algorithmic acceleration packages */
273 
274 /* CMSIS: ARM Cortex-M Microcontroller Software Interface Standard */
275 
276 #define PKG_USING_CMSIS_CORE
277 #define PKG_USING_CMSIS_CORE_LATEST_VERSION
278 /* end of CMSIS: ARM Cortex-M Microcontroller Software Interface Standard */
279 
280 /* Micrium: Micrium software products porting for RT-Thread */
281 
282 /* end of Micrium: Micrium software products porting for RT-Thread */
283 /* end of system packages */
284 
285 /* peripheral libraries and drivers */
286 
287 /* HAL & SDK Drivers */
288 
289 /* STM32 HAL & SDK Drivers */
290 
291 /* end of STM32 HAL & SDK Drivers */
292 
293 /* Infineon HAL Packages */
294 
295 /* end of Infineon HAL Packages */
296 
297 /* Kendryte SDK */
298 
299 /* end of Kendryte SDK */
300 
301 /* WCH HAL & SDK Drivers */
302 
303 /* end of WCH HAL & SDK Drivers */
304 
305 /* AT32 HAL & SDK Drivers */
306 
307 #define PKG_USING_AT32F45x_HAL_DRIVER
308 #define PKG_USING_AT32F45x_HAL_DRIVER_LATEST_VERSION
309 #define PKG_USING_AT32F45x_CMSIS_DRIVER
310 #define PKG_USING_AT32F45x_CMSIS_DRIVER_LATEST_VERSION
311 /* end of AT32 HAL & SDK Drivers */
312 
313 /* HC32 DDL Drivers */
314 
315 /* end of HC32 DDL Drivers */
316 
317 /* NXP HAL & SDK Drivers */
318 
319 /* end of NXP HAL & SDK Drivers */
320 /* end of HAL & SDK Drivers */
321 
322 /* sensors drivers */
323 
324 /* end of sensors drivers */
325 
326 /* touch drivers */
327 
328 /* end of touch drivers */
329 /* end of peripheral libraries and drivers */
330 
331 /* AI packages */
332 
333 /* end of AI packages */
334 
335 /* Signal Processing and Control Algorithm Packages */
336 
337 /* end of Signal Processing and Control Algorithm Packages */
338 
339 /* miscellaneous packages */
340 
341 /* project laboratory */
342 
343 /* end of project laboratory */
344 
345 /* samples: kernel and components samples */
346 
347 /* end of samples: kernel and components samples */
348 
349 /* entertainment: terminal games and other interesting software packages */
350 
351 /* end of entertainment: terminal games and other interesting software packages */
352 /* end of miscellaneous packages */
353 
354 /* Arduino libraries */
355 
356 
357 /* Projects and Demos */
358 
359 /* end of Projects and Demos */
360 
361 /* Sensors */
362 
363 /* end of Sensors */
364 
365 /* Display */
366 
367 /* end of Display */
368 
369 /* Timing */
370 
371 /* end of Timing */
372 
373 /* Data Processing */
374 
375 /* end of Data Processing */
376 
377 /* Data Storage */
378 
379 /* Communication */
380 
381 /* end of Communication */
382 
383 /* Device Control */
384 
385 /* end of Device Control */
386 
387 /* Other */
388 
389 /* end of Other */
390 
391 /* Signal IO */
392 
393 /* end of Signal IO */
394 
395 /* Uncategorized */
396 
397 /* end of Arduino libraries */
398 /* end of RT-Thread online packages */
399 #define SOC_FAMILY_AT32
400 #define SOC_SERIES_AT32F455
401 
402 /* Hardware Drivers Config */
403 
404 #define SOC_AT32F455ZET7
405 
406 /* Onboard Peripheral Drivers */
407 
408 #define BSP_USING_SERIAL
409 /* end of Onboard Peripheral Drivers */
410 
411 /* On-chip Peripheral Drivers */
412 
413 #define BSP_USING_GPIO
414 #define BSP_USING_UART
415 #define BSP_USING_UART1
416 #define BSP_UART1_RX_BUFSIZE 256
417 #define BSP_UART1_TX_BUFSIZE 0
418 /* end of On-chip Peripheral Drivers */
419 /* end of Hardware Drivers Config */
420 
421 #endif
422