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