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