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 IDLE_THREAD_STACK_SIZE 256
71 #define RT_USING_TIMER_SOFT
72 #define RT_TIMER_THREAD_PRIO 4
73 #define RT_TIMER_THREAD_STACK_SIZE 512
74 
75 /* kservice options */
76 
77 /* end of kservice options */
78 #define RT_USING_DEBUG
79 #define RT_DEBUGING_ASSERT
80 #define RT_DEBUGING_COLOR
81 #define RT_DEBUGING_CONTEXT
82 
83 /* Inter-Thread communication */
84 
85 #define RT_USING_SEMAPHORE
86 #define RT_USING_MUTEX
87 #define RT_USING_EVENT
88 #define RT_USING_MAILBOX
89 #define RT_USING_MESSAGEQUEUE
90 /* end of Inter-Thread communication */
91 
92 /* Memory Management */
93 
94 #define RT_USING_MEMPOOL
95 #define RT_USING_SMALL_MEM
96 #define RT_USING_SMALL_MEM_AS_HEAP
97 #define RT_USING_HEAP
98 /* end of Memory Management */
99 #define RT_USING_DEVICE
100 #define RT_USING_CONSOLE
101 #define RT_CONSOLEBUF_SIZE 256
102 #define RT_CONSOLE_DEVICE_NAME "uart"
103 #define RT_VER_NUM 0x50201
104 #define RT_BACKTRACE_LEVEL_MAX_NR 32
105 /* end of RT-Thread Kernel */
106 
107 /* RT-Thread Components */
108 
109 #define RT_USING_COMPONENTS_INIT
110 #define RT_USING_USER_MAIN
111 #define RT_MAIN_THREAD_STACK_SIZE 2048
112 #define RT_MAIN_THREAD_PRIORITY 10
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_SYSTEM_WORKQUEUE
137 #define RT_SYSTEM_WORKQUEUE_STACKSIZE 2048
138 #define RT_SYSTEM_WORKQUEUE_PRIORITY 23
139 #define RT_USING_SERIAL
140 #define RT_USING_SERIAL_V1
141 #define RT_SERIAL_RB_BUFSZ 64
142 #define RT_USING_PIN
143 /* end of Device Drivers */
144 
145 /* C/C++ and POSIX layer */
146 
147 /* ISO-ANSI C layer */
148 
149 /* Timezone and Daylight Saving Time */
150 
151 #define RT_LIBC_USING_LIGHT_TZ_DST
152 #define RT_LIBC_TZ_DEFAULT_HOUR 8
153 #define RT_LIBC_TZ_DEFAULT_MIN 0
154 #define RT_LIBC_TZ_DEFAULT_SEC 0
155 /* end of Timezone and Daylight Saving Time */
156 /* end of ISO-ANSI C layer */
157 
158 /* POSIX (Portable Operating System Interface) layer */
159 
160 
161 /* Interprocess Communication (IPC) */
162 
163 
164 /* Socket is in the 'Network' category */
165 
166 /* end of Interprocess Communication (IPC) */
167 /* end of POSIX (Portable Operating System Interface) layer */
168 /* end of C/C++ and POSIX layer */
169 
170 /* Network */
171 
172 /* end of Network */
173 
174 /* Memory protection */
175 
176 /* end of Memory protection */
177 
178 /* Utilities */
179 
180 /* end of Utilities */
181 
182 /* Using USB legacy version */
183 
184 /* end of Using USB legacy version */
185 /* end of RT-Thread Components */
186 
187 /* RT-Thread Utestcases */
188 
189 /* end of RT-Thread Utestcases */
190 
191 /* RT-Thread online packages */
192 
193 /* IoT - internet of things */
194 
195 
196 /* Wi-Fi */
197 
198 /* Marvell WiFi */
199 
200 /* end of Marvell WiFi */
201 
202 /* Wiced WiFi */
203 
204 /* end of Wiced WiFi */
205 
206 /* CYW43012 WiFi */
207 
208 /* end of CYW43012 WiFi */
209 
210 /* BL808 WiFi */
211 
212 /* end of BL808 WiFi */
213 
214 /* CYW43439 WiFi */
215 
216 /* end of CYW43439 WiFi */
217 /* end of Wi-Fi */
218 
219 /* IoT Cloud */
220 
221 /* end of IoT Cloud */
222 /* end of IoT - internet of things */
223 
224 /* security packages */
225 
226 /* end of security packages */
227 
228 /* language packages */
229 
230 /* JSON: JavaScript Object Notation, a lightweight data-interchange format */
231 
232 /* end of JSON: JavaScript Object Notation, a lightweight data-interchange format */
233 
234 /* XML: Extensible Markup Language */
235 
236 /* end of XML: Extensible Markup Language */
237 /* end of language packages */
238 
239 /* multimedia packages */
240 
241 /* LVGL: powerful and easy-to-use embedded GUI library */
242 
243 /* end of LVGL: powerful and easy-to-use embedded GUI library */
244 
245 /* u8g2: a monochrome graphic library */
246 
247 /* end of u8g2: a monochrome graphic library */
248 /* end of multimedia packages */
249 
250 /* tools packages */
251 
252 /* end of tools packages */
253 
254 /* system packages */
255 
256 /* enhanced kernel services */
257 
258 /* end of enhanced kernel services */
259 
260 /* acceleration: Assembly language or algorithmic acceleration packages */
261 
262 /* end of acceleration: Assembly language or algorithmic acceleration packages */
263 
264 /* CMSIS: ARM Cortex-M Microcontroller Software Interface Standard */
265 
266 /* end of CMSIS: ARM Cortex-M Microcontroller Software Interface Standard */
267 
268 /* Micrium: Micrium software products porting for RT-Thread */
269 
270 /* end of Micrium: Micrium software products porting for RT-Thread */
271 #define PKG_USING_FREERTOS_WRAPPER
272 #define PKG_FREERTOS_USING_CONFIG_H
273 #define PKG_USING_FREERTOS_WRAPPER_LATEST_VERSION
274 /* end of system packages */
275 
276 /* peripheral libraries and drivers */
277 
278 /* HAL & SDK Drivers */
279 
280 /* STM32 HAL & SDK Drivers */
281 
282 /* end of STM32 HAL & SDK Drivers */
283 
284 /* Infineon HAL Packages */
285 
286 /* end of Infineon HAL Packages */
287 #define PKG_USING_ESP_IDF
288 #define PKG_USING_ESP_IDF_LATEST_VERSION
289 
290 /* Kendryte SDK */
291 
292 /* end of Kendryte SDK */
293 
294 /* WCH HAL & SDK Drivers */
295 
296 /* end of WCH HAL & SDK Drivers */
297 
298 /* AT32 HAL & SDK Drivers */
299 
300 /* end of AT32 HAL & SDK Drivers */
301 
302 /* HC32 DDL Drivers */
303 
304 /* end of HC32 DDL Drivers */
305 
306 /* NXP HAL & SDK Drivers */
307 
308 /* end of NXP HAL & SDK Drivers */
309 /* end of HAL & SDK Drivers */
310 
311 /* sensors drivers */
312 
313 /* end of sensors drivers */
314 
315 /* touch drivers */
316 
317 /* end of touch drivers */
318 /* end of peripheral libraries and drivers */
319 
320 /* AI packages */
321 
322 /* end of AI packages */
323 
324 /* Signal Processing and Control Algorithm Packages */
325 
326 /* end of Signal Processing and Control Algorithm Packages */
327 
328 /* miscellaneous packages */
329 
330 /* project laboratory */
331 
332 /* end of project laboratory */
333 
334 /* samples: kernel and components samples */
335 
336 /* end of samples: kernel and components samples */
337 
338 /* entertainment: terminal games and other interesting software packages */
339 
340 /* end of entertainment: terminal games and other interesting software packages */
341 /* end of miscellaneous packages */
342 
343 /* Arduino libraries */
344 
345 
346 /* Projects and Demos */
347 
348 /* end of Projects and Demos */
349 
350 /* Sensors */
351 
352 /* end of Sensors */
353 
354 /* Display */
355 
356 /* end of Display */
357 
358 /* Timing */
359 
360 /* end of Timing */
361 
362 /* Data Processing */
363 
364 /* end of Data Processing */
365 
366 /* Data Storage */
367 
368 /* Communication */
369 
370 /* end of Communication */
371 
372 /* Device Control */
373 
374 /* end of Device Control */
375 
376 /* Other */
377 
378 /* end of Other */
379 
380 /* Signal IO */
381 
382 /* end of Signal IO */
383 
384 /* Uncategorized */
385 
386 /* end of Arduino libraries */
387 /* end of RT-Thread online packages */
388 #define SOC_ESPRESSIF
389 #define SOC_ESP32_C3
390 
391 /* Hardware Drivers Config */
392 
393 #define BSP_BOARD_LUATOS_ESP32C3
394 
395 /* Onboard Peripheral Drivers */
396 
397 #define RT_BSP_LED_PIN 12
398 #define RT_BSP_UART_PORT 0
399 #define RT_BSP_UART_TX_PIN 21
400 #define RT_BSP_UART_RX_PIN 20
401 /* end of Onboard Peripheral Drivers */
402 
403 /* On-chip Peripheral Drivers */
404 
405 #define BSP_USING_GPIO
406 #define BSP_USING_UART
407 /* end of On-chip Peripheral Drivers */
408 /* end of Hardware Drivers Config */
409 
410 #endif
411