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 1024
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_CONSOLE
106 #define RT_CONSOLEBUF_SIZE 128
107 #define RT_CONSOLE_DEVICE_NAME "dbg"
108 #define RT_VER_NUM 0x50201
109 #define RT_BACKTRACE_LEVEL_MAX_NR 32
110 /* end of RT-Thread Kernel */
111 
112 /* RT-Thread Components */
113 
114 #define RT_USING_COMPONENTS_INIT
115 #define RT_USING_USER_MAIN
116 #define RT_MAIN_THREAD_STACK_SIZE 2048
117 #define RT_MAIN_THREAD_PRIORITY 10
118 #define RT_USING_MSH
119 #define RT_USING_FINSH
120 #define FINSH_USING_MSH
121 #define FINSH_THREAD_NAME "tshell"
122 #define FINSH_THREAD_PRIORITY 20
123 #define FINSH_THREAD_STACK_SIZE 4096
124 #define FINSH_USING_HISTORY
125 #define FINSH_HISTORY_LINES 5
126 #define FINSH_USING_SYMTAB
127 #define FINSH_CMD_SIZE 80
128 #define MSH_USING_BUILT_IN_COMMANDS
129 #define FINSH_USING_DESCRIPTION
130 #define FINSH_ARG_MAX 10
131 #define FINSH_USING_OPTION_COMPLETION
132 
133 /* DFS: device virtual file system */
134 
135 /* end of DFS: device virtual file system */
136 
137 /* Device Drivers */
138 
139 #define RT_USING_DEVICE_IPC
140 #define RT_UNAMED_PIPE_NUMBER 64
141 #define RT_USING_SERIAL
142 #define RT_USING_SERIAL_V1
143 #define RT_SERIAL_USING_DMA
144 #define RT_SERIAL_RB_BUFSZ 64
145 #define RT_USING_WIFI
146 #define RT_WLAN_DEVICE_STA_NAME "wlan0"
147 #define RT_WLAN_DEVICE_AP_NAME "wlan1"
148 #define RT_WLAN_SSID_MAX_LENGTH 32
149 #define RT_WLAN_PASSWORD_MAX_LENGTH 32
150 #define RT_WLAN_DEV_EVENT_NUM 2
151 #define RT_WLAN_MANAGE_ENABLE
152 #define RT_WLAN_SCAN_WAIT_MS 10000
153 #define RT_WLAN_CONNECT_WAIT_MS 10000
154 #define RT_WLAN_SCAN_SORT
155 #define RT_WLAN_MSH_CMD_ENABLE
156 #define RT_WLAN_JOIN_SCAN_BY_MGNT
157 #define RT_WLAN_AUTO_CONNECT_ENABLE
158 #define AUTO_CONNECTION_PERIOD_MS 2000
159 #define RT_WLAN_CFG_ENABLE
160 #define RT_WLAN_CFG_INFO_MAX 3
161 #define RT_WLAN_PROT_ENABLE
162 #define RT_WLAN_PROT_NAME_LEN 8
163 #define RT_WLAN_PROT_MAX 2
164 #define RT_WLAN_DEFAULT_PROT "lwip"
165 #define RT_WLAN_PROT_LWIP_ENABLE
166 #define RT_WLAN_PROT_LWIP_NAME "lwip"
167 #define RT_WLAN_WORK_THREAD_ENABLE
168 #define RT_WLAN_WORKQUEUE_THREAD_NAME "wlan_job"
169 #define RT_WLAN_WORKQUEUE_THREAD_SIZE 2048
170 #define RT_WLAN_WORKQUEUE_THREAD_PRIO 22
171 #define RT_WLAN_DEBUG
172 #define RT_WLAN_CMD_DEBUG
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 16
225 #define RT_LWIP_RAW_PCB_NUM 4
226 #define RT_LWIP_UDP_PCB_NUM 4
227 #define RT_LWIP_TCP_PCB_NUM 4
228 #define RT_LWIP_TCP_SEG_NUM 40
229 #define RT_LWIP_TCP_SND_BUF 8196
230 #define RT_LWIP_TCP_WND 8196
231 #define RT_LWIP_TCPTHREAD_PRIORITY 10
232 #define RT_LWIP_TCPTHREAD_MBOX_SIZE 8
233 #define RT_LWIP_TCPTHREAD_STACKSIZE 1024
234 #define RT_LWIP_ETHTHREAD_PRIORITY 12
235 #define RT_LWIP_ETHTHREAD_STACKSIZE 1024
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 #define LWIP_USING_DHCPD
248 #define DHCPD_SERVER_IP "192.168.169.1"
249 #define DHCPD_USING_ROUTER
250 /* end of Network */
251 
252 /* Memory protection */
253 
254 /* end of Memory protection */
255 
256 /* Utilities */
257 
258 /* end of Utilities */
259 
260 /* Using USB legacy version */
261 
262 /* end of Using USB legacy version */
263 /* end of RT-Thread Components */
264 
265 /* RT-Thread Utestcases */
266 
267 /* end of RT-Thread Utestcases */
268 
269 /* RT-Thread online packages */
270 
271 /* IoT - internet of things */
272 
273 
274 /* Wi-Fi */
275 
276 /* Marvell WiFi */
277 
278 /* end of Marvell WiFi */
279 
280 /* Wiced WiFi */
281 
282 /* end of Wiced WiFi */
283 
284 /* CYW43012 WiFi */
285 
286 /* end of CYW43012 WiFi */
287 
288 /* BL808 WiFi */
289 
290 /* end of BL808 WiFi */
291 
292 /* CYW43439 WiFi */
293 
294 /* end of CYW43439 WiFi */
295 /* end of Wi-Fi */
296 
297 /* IoT Cloud */
298 
299 /* end of IoT Cloud */
300 /* end of IoT - internet of things */
301 
302 /* security packages */
303 
304 /* end of security packages */
305 
306 /* language packages */
307 
308 /* JSON: JavaScript Object Notation, a lightweight data-interchange format */
309 
310 /* end of JSON: JavaScript Object Notation, a lightweight data-interchange format */
311 
312 /* XML: Extensible Markup Language */
313 
314 /* end of XML: Extensible Markup Language */
315 /* end of language packages */
316 
317 /* multimedia packages */
318 
319 /* LVGL: powerful and easy-to-use embedded GUI library */
320 
321 /* end of LVGL: powerful and easy-to-use embedded GUI library */
322 
323 /* u8g2: a monochrome graphic library */
324 
325 /* end of u8g2: a monochrome graphic library */
326 /* end of multimedia packages */
327 
328 /* tools packages */
329 
330 /* end of tools packages */
331 
332 /* system packages */
333 
334 /* enhanced kernel services */
335 
336 /* end of enhanced kernel services */
337 
338 /* acceleration: Assembly language or algorithmic acceleration packages */
339 
340 /* end of acceleration: Assembly language or algorithmic acceleration packages */
341 
342 /* CMSIS: ARM Cortex-M Microcontroller Software Interface Standard */
343 
344 /* end of CMSIS: ARM Cortex-M Microcontroller Software Interface Standard */
345 
346 /* Micrium: Micrium software products porting for RT-Thread */
347 
348 /* end of Micrium: Micrium software products porting for RT-Thread */
349 /* end of system packages */
350 
351 /* peripheral libraries and drivers */
352 
353 /* HAL & SDK Drivers */
354 
355 /* STM32 HAL & SDK Drivers */
356 
357 /* end of STM32 HAL & SDK Drivers */
358 
359 /* Infineon HAL Packages */
360 
361 /* end of Infineon HAL Packages */
362 
363 /* Kendryte SDK */
364 
365 /* end of Kendryte SDK */
366 
367 /* WCH HAL & SDK Drivers */
368 
369 /* end of WCH HAL & SDK Drivers */
370 
371 /* AT32 HAL & SDK Drivers */
372 
373 /* end of AT32 HAL & SDK Drivers */
374 
375 /* HC32 DDL Drivers */
376 
377 /* end of HC32 DDL Drivers */
378 
379 /* NXP HAL & SDK Drivers */
380 
381 /* end of NXP HAL & SDK Drivers */
382 /* end of HAL & SDK Drivers */
383 
384 /* sensors drivers */
385 
386 /* end of sensors drivers */
387 
388 /* touch drivers */
389 
390 /* end of touch drivers */
391 #define PKG_USING_REALTEK_AMEBA
392 #define PKG_USING_REALTEK_AMEBA_LATEST_VERSION
393 /* end of peripheral libraries and drivers */
394 
395 /* AI packages */
396 
397 /* end of AI packages */
398 
399 /* Signal Processing and Control Algorithm Packages */
400 
401 /* end of Signal Processing and Control Algorithm Packages */
402 
403 /* miscellaneous packages */
404 
405 /* project laboratory */
406 
407 /* end of project laboratory */
408 
409 /* samples: kernel and components samples */
410 
411 /* end of samples: kernel and components samples */
412 
413 /* entertainment: terminal games and other interesting software packages */
414 
415 /* end of entertainment: terminal games and other interesting software packages */
416 /* end of miscellaneous packages */
417 
418 /* Arduino libraries */
419 
420 
421 /* Projects and Demos */
422 
423 /* end of Projects and Demos */
424 
425 /* Sensors */
426 
427 /* end of Sensors */
428 
429 /* Display */
430 
431 /* end of Display */
432 
433 /* Timing */
434 
435 /* end of Timing */
436 
437 /* Data Processing */
438 
439 /* end of Data Processing */
440 
441 /* Data Storage */
442 
443 /* Communication */
444 
445 /* end of Communication */
446 
447 /* Device Control */
448 
449 /* end of Device Control */
450 
451 /* Other */
452 
453 /* end of Other */
454 
455 /* Signal IO */
456 
457 /* end of Signal IO */
458 
459 /* Uncategorized */
460 
461 /* end of Arduino libraries */
462 /* end of RT-Thread online packages */
463 
464 /* External Libraries */
465 
466 #define RT_USING_SMARTCONFIG_LIB
467 /* end of External Libraries */
468 #define BSP_USING_WIFI
469 #define SOC_AMEBAZ
470 
471 #endif
472