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