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 6
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 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 "uart0"
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_M3
118 
119 /* RT-Thread Components */
120 
121 #define RT_USING_MSH
122 #define RT_USING_FINSH
123 #define FINSH_USING_MSH
124 #define FINSH_THREAD_NAME "tshell"
125 #define FINSH_THREAD_PRIORITY 20
126 #define FINSH_THREAD_STACK_SIZE 4096
127 #define FINSH_USING_HISTORY
128 #define FINSH_HISTORY_LINES 5
129 #define FINSH_USING_SYMTAB
130 #define FINSH_CMD_SIZE 80
131 #define MSH_USING_BUILT_IN_COMMANDS
132 #define FINSH_USING_DESCRIPTION
133 #define FINSH_ARG_MAX 10
134 #define FINSH_USING_OPTION_COMPLETION
135 
136 /* DFS: device virtual file system */
137 
138 #define RT_USING_DFS
139 #define DFS_USING_POSIX
140 #define DFS_USING_WORKDIR
141 #define DFS_FD_MAX 4
142 #define RT_USING_DFS_V1
143 #define DFS_FILESYSTEMS_MAX 2
144 #define DFS_FILESYSTEM_TYPES_MAX 4
145 #define RT_USING_DFS_ELMFAT
146 
147 /* elm-chan's FatFs, Generic FAT Filesystem Module */
148 
149 #define RT_DFS_ELM_CODE_PAGE 437
150 #define RT_DFS_ELM_WORD_ACCESS
151 #define RT_DFS_ELM_USE_LFN_3
152 #define RT_DFS_ELM_USE_LFN 3
153 #define RT_DFS_ELM_LFN_UNICODE_0
154 #define RT_DFS_ELM_LFN_UNICODE 0
155 #define RT_DFS_ELM_MAX_LFN 64
156 #define RT_DFS_ELM_DRIVES 2
157 #define RT_DFS_ELM_MAX_SECTOR_SIZE 512
158 #define RT_DFS_ELM_REENTRANT
159 #define RT_DFS_ELM_MUTEX_TIMEOUT 3000
160 /* end of elm-chan's FatFs, Generic FAT Filesystem Module */
161 #define RT_USING_DFS_DEVFS
162 /* end of DFS: device virtual file system */
163 
164 /* Device Drivers */
165 
166 #define RT_USING_DEVICE_IPC
167 #define RT_UNAMED_PIPE_NUMBER 64
168 #define RT_USING_SERIAL
169 #define RT_USING_SERIAL_V1
170 #define RT_SERIAL_USING_DMA
171 #define RT_SERIAL_RB_BUFSZ 64
172 #define RT_USING_PIN
173 /* end of Device Drivers */
174 
175 /* C/C++ and POSIX layer */
176 
177 /* ISO-ANSI C layer */
178 
179 /* Timezone and Daylight Saving Time */
180 
181 #define RT_LIBC_USING_LIGHT_TZ_DST
182 #define RT_LIBC_TZ_DEFAULT_HOUR 8
183 #define RT_LIBC_TZ_DEFAULT_MIN 0
184 #define RT_LIBC_TZ_DEFAULT_SEC 0
185 /* end of Timezone and Daylight Saving Time */
186 /* end of ISO-ANSI C layer */
187 
188 /* POSIX (Portable Operating System Interface) layer */
189 
190 
191 /* Interprocess Communication (IPC) */
192 
193 
194 /* Socket is in the 'Network' category */
195 
196 /* end of Interprocess Communication (IPC) */
197 /* end of POSIX (Portable Operating System Interface) layer */
198 /* end of C/C++ and POSIX layer */
199 
200 /* Network */
201 
202 #define NETDEV_USING_PING
203 #define RT_USING_LWIP
204 #define RT_USING_LWIP203
205 #define RT_USING_LWIP_VER_NUM 0x20003
206 #define RT_LWIP_MEM_ALIGNMENT 4
207 #define RT_LWIP_IGMP
208 #define RT_LWIP_ICMP
209 #define RT_LWIP_DNS
210 #define RT_LWIP_DHCP
211 #define IP_SOF_BROADCAST 1
212 #define IP_SOF_BROADCAST_RECV 1
213 
214 /* Static IPv4 Address */
215 
216 #define RT_LWIP_IPADDR "192.168.1.30"
217 #define RT_LWIP_GWADDR "192.168.1.1"
218 #define RT_LWIP_MSKADDR "255.255.255.0"
219 /* end of Static IPv4 Address */
220 #define RT_LWIP_UDP
221 #define RT_LWIP_TCP
222 #define RT_LWIP_RAW
223 #define RT_MEMP_NUM_NETCONN 8
224 #define RT_LWIP_PBUF_NUM 4
225 #define RT_LWIP_RAW_PCB_NUM 4
226 #define RT_LWIP_UDP_PCB_NUM 4
227 #define RT_LWIP_TCP_PCB_NUM 3
228 #define RT_LWIP_TCP_SEG_NUM 40
229 #define RT_LWIP_TCP_SND_BUF 8196
230 #define RT_LWIP_TCP_WND 2048
231 #define RT_LWIP_TCPTHREAD_PRIORITY 12
232 #define RT_LWIP_TCPTHREAD_MBOX_SIZE 8
233 #define RT_LWIP_TCPTHREAD_STACKSIZE 4096
234 #define RT_LWIP_ETHTHREAD_PRIORITY 14
235 #define RT_LWIP_ETHTHREAD_STACKSIZE 512
236 #define RT_LWIP_ETHTHREAD_MBOX_SIZE 8
237 #define LWIP_NETIF_STATUS_CALLBACK 1
238 #define LWIP_NETIF_LINK_CALLBACK 1
239 #define RT_LWIP_NETIF_NAMESIZE 6
240 #define SO_REUSE 1
241 #define LWIP_SO_RCVTIMEO 1
242 #define LWIP_SO_SNDTIMEO 1
243 #define LWIP_SO_RCVBUF 1
244 #define LWIP_SO_LINGER 0
245 #define LWIP_NETIF_LOOPBACK 0
246 #define RT_LWIP_USING_PING
247 /* end of Network */
248 
249 /* Memory protection */
250 
251 /* end of Memory protection */
252 
253 /* Utilities */
254 
255 /* end of Utilities */
256 
257 /* Using USB legacy version */
258 
259 /* end of Using USB legacy version */
260 /* end of RT-Thread Components */
261 
262 /* RT-Thread Utestcases */
263 
264 /* end of RT-Thread Utestcases */
265 
266 /* RT-Thread online packages */
267 
268 /* IoT - internet of things */
269 
270 
271 /* Wi-Fi */
272 
273 /* Marvell WiFi */
274 
275 /* end of Marvell WiFi */
276 
277 /* Wiced WiFi */
278 
279 /* end of Wiced WiFi */
280 
281 /* CYW43012 WiFi */
282 
283 /* end of CYW43012 WiFi */
284 
285 /* BL808 WiFi */
286 
287 /* end of BL808 WiFi */
288 
289 /* CYW43439 WiFi */
290 
291 /* end of CYW43439 WiFi */
292 /* end of Wi-Fi */
293 
294 /* IoT Cloud */
295 
296 /* end of IoT Cloud */
297 /* end of IoT - internet of things */
298 
299 /* security packages */
300 
301 /* end of security packages */
302 
303 /* language packages */
304 
305 /* JSON: JavaScript Object Notation, a lightweight data-interchange format */
306 
307 /* end of JSON: JavaScript Object Notation, a lightweight data-interchange format */
308 
309 /* XML: Extensible Markup Language */
310 
311 /* end of XML: Extensible Markup Language */
312 /* end of language packages */
313 
314 /* multimedia packages */
315 
316 /* LVGL: powerful and easy-to-use embedded GUI library */
317 
318 /* end of LVGL: powerful and easy-to-use embedded GUI library */
319 
320 /* u8g2: a monochrome graphic library */
321 
322 /* end of u8g2: a monochrome graphic library */
323 /* end of multimedia packages */
324 
325 /* tools packages */
326 
327 /* end of tools packages */
328 
329 /* system packages */
330 
331 /* enhanced kernel services */
332 
333 /* end of enhanced kernel services */
334 
335 /* acceleration: Assembly language or algorithmic acceleration packages */
336 
337 /* end of acceleration: Assembly language or algorithmic acceleration packages */
338 
339 /* CMSIS: ARM Cortex-M Microcontroller Software Interface Standard */
340 
341 /* end of CMSIS: ARM Cortex-M Microcontroller Software Interface Standard */
342 
343 /* Micrium: Micrium software products porting for RT-Thread */
344 
345 /* end of Micrium: Micrium software products porting for RT-Thread */
346 /* end of system packages */
347 
348 /* peripheral libraries and drivers */
349 
350 /* HAL & SDK Drivers */
351 
352 /* STM32 HAL & SDK Drivers */
353 
354 /* end of STM32 HAL & SDK Drivers */
355 
356 /* Infineon HAL Packages */
357 
358 /* end of Infineon HAL Packages */
359 
360 /* Kendryte SDK */
361 
362 /* end of Kendryte SDK */
363 
364 /* WCH HAL & SDK Drivers */
365 
366 /* end of WCH HAL & SDK Drivers */
367 
368 /* AT32 HAL & SDK Drivers */
369 
370 /* end of AT32 HAL & SDK Drivers */
371 
372 /* HC32 DDL Drivers */
373 
374 /* end of HC32 DDL Drivers */
375 
376 /* NXP HAL & SDK Drivers */
377 
378 #define PKG_USING_NXP_LPC_DRIVER
379 #define PKG_USING_NXP_LPC_DRIVER_LATEST_VERSION
380 /* end of NXP HAL & SDK Drivers */
381 /* end of HAL & SDK Drivers */
382 
383 /* sensors drivers */
384 
385 /* end of sensors drivers */
386 
387 /* touch drivers */
388 
389 /* end of touch drivers */
390 /* end of peripheral libraries and drivers */
391 
392 /* AI packages */
393 
394 /* end of AI packages */
395 
396 /* Signal Processing and Control Algorithm Packages */
397 
398 /* end of Signal Processing and Control Algorithm Packages */
399 
400 /* miscellaneous packages */
401 
402 /* project laboratory */
403 
404 /* end of project laboratory */
405 
406 /* samples: kernel and components samples */
407 
408 /* end of samples: kernel and components samples */
409 
410 /* entertainment: terminal games and other interesting software packages */
411 
412 /* end of entertainment: terminal games and other interesting software packages */
413 /* end of miscellaneous packages */
414 
415 /* Arduino libraries */
416 
417 
418 /* Projects and Demos */
419 
420 /* end of Projects and Demos */
421 
422 /* Sensors */
423 
424 /* end of Sensors */
425 
426 /* Display */
427 
428 /* end of Display */
429 
430 /* Timing */
431 
432 /* end of Timing */
433 
434 /* Data Processing */
435 
436 /* end of Data Processing */
437 
438 /* Data Storage */
439 
440 /* Communication */
441 
442 /* end of Communication */
443 
444 /* Device Control */
445 
446 /* end of Device Control */
447 
448 /* Other */
449 
450 /* end of Other */
451 
452 /* Signal IO */
453 
454 /* end of Signal IO */
455 
456 /* Uncategorized */
457 
458 /* end of Arduino libraries */
459 /* end of RT-Thread online packages */
460 #define SOC_LPC176
461 
462 #endif
463