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 #define RT_KLIBC_USING_VSNPRINTF_LONGLONG
11 #define RT_KLIBC_USING_VSNPRINTF_STANDARD
12 #define RT_KLIBC_USING_VSNPRINTF_DECIMAL_SPECIFIERS
13 #define RT_KLIBC_USING_VSNPRINTF_EXPONENTIAL_SPECIFIERS
14 #define RT_KLIBC_USING_VSNPRINTF_WRITEBACK_SPECIFIER
15 #define RT_KLIBC_USING_VSNPRINTF_CHECK_NUL_IN_FORMAT_SPECIFIER
16 #define RT_KLIBC_USING_VSNPRINTF_INTEGER_BUFFER_SIZE 32
17 #define RT_KLIBC_USING_VSNPRINTF_DECIMAL_BUFFER_SIZE 32
18 #define RT_KLIBC_USING_VSNPRINTF_FLOAT_PRECISION 6
19 #define RT_KLIBC_USING_VSNPRINTF_MAX_INTEGRAL_DIGITS_FOR_DECIMAL 9
20 #define RT_KLIBC_USING_VSNPRINTF_LOG10_TAYLOR_TERMS 4
21 /* end of rt_vsnprintf options */
22 
23 /* rt_vsscanf options */
24 
25 /* end of rt_vsscanf options */
26 
27 /* rt_memset options */
28 
29 /* end of rt_memset options */
30 
31 /* rt_memcpy options */
32 
33 /* end of rt_memcpy options */
34 
35 /* rt_memmove options */
36 
37 /* end of rt_memmove options */
38 
39 /* rt_memcmp options */
40 
41 /* end of rt_memcmp options */
42 
43 /* rt_strstr options */
44 
45 /* end of rt_strstr options */
46 
47 /* rt_strcasecmp options */
48 
49 /* end of rt_strcasecmp options */
50 
51 /* rt_strncpy options */
52 
53 /* end of rt_strncpy options */
54 
55 /* rt_strcpy options */
56 
57 /* end of rt_strcpy options */
58 
59 /* rt_strncmp options */
60 
61 /* end of rt_strncmp options */
62 
63 /* rt_strcmp options */
64 
65 /* end of rt_strcmp options */
66 
67 /* rt_strlen options */
68 
69 /* end of rt_strlen options */
70 
71 /* rt_strnlen options */
72 
73 /* end of rt_strnlen options */
74 /* end of klibc options */
75 #define RT_NAME_MAX 8
76 #define RT_CPUS_NR 1
77 #define RT_ALIGN_SIZE 8
78 #define RT_THREAD_PRIORITY_32
79 #define RT_THREAD_PRIORITY_MAX 32
80 #define RT_TICK_PER_SECOND 1000
81 #define RT_USING_OVERFLOW_CHECK
82 #define RT_USING_HOOK
83 #define RT_HOOK_USING_FUNC_PTR
84 #define RT_USING_IDLE_HOOK
85 #define RT_IDLE_HOOK_LIST_SIZE 4
86 #define IDLE_THREAD_STACK_SIZE 256
87 #define RT_USING_TIMER_SOFT
88 #define RT_TIMER_THREAD_PRIO 4
89 #define RT_TIMER_THREAD_STACK_SIZE 512
90 
91 /* kservice options */
92 
93 /* end of kservice options */
94 #define RT_USING_DEBUG
95 #define RT_DEBUGING_ASSERT
96 #define RT_DEBUGING_COLOR
97 #define RT_DEBUGING_CONTEXT
98 
99 /* Inter-Thread communication */
100 
101 #define RT_USING_SEMAPHORE
102 #define RT_USING_MUTEX
103 #define RT_USING_EVENT
104 #define RT_USING_MAILBOX
105 #define RT_USING_MESSAGEQUEUE
106 /* end of Inter-Thread communication */
107 
108 /* Memory Management */
109 
110 #define RT_USING_SMALL_MEM
111 #define RT_USING_SMALL_MEM_AS_HEAP
112 #define RT_USING_HEAP
113 /* end of Memory Management */
114 #define RT_USING_DEVICE
115 #define RT_USING_CONSOLE
116 #define RT_CONSOLEBUF_SIZE 128
117 #define RT_CONSOLE_DEVICE_NAME "uart9"
118 #define RT_VER_NUM 0x50201
119 #define RT_BACKTRACE_LEVEL_MAX_NR 32
120 /* end of RT-Thread Kernel */
121 #define RT_USING_HW_ATOMIC
122 #define RT_USING_CPU_FFS
123 #define ARCH_ARM
124 #define ARCH_ARM_CORTEX_M
125 #define ARCH_ARM_CORTEX_SECURE
126 #define ARCH_ARM_CORTEX_M33
127 
128 /* RT-Thread Components */
129 
130 #define RT_USING_COMPONENTS_INIT
131 #define RT_USING_USER_MAIN
132 #define RT_MAIN_THREAD_STACK_SIZE 2048
133 #define RT_MAIN_THREAD_PRIORITY 10
134 #define RT_USING_MSH
135 #define RT_USING_FINSH
136 #define FINSH_USING_MSH
137 #define FINSH_THREAD_NAME "tshell"
138 #define FINSH_THREAD_PRIORITY 20
139 #define FINSH_THREAD_STACK_SIZE 4096
140 #define FINSH_USING_HISTORY
141 #define FINSH_HISTORY_LINES 5
142 #define FINSH_USING_SYMTAB
143 #define FINSH_CMD_SIZE 80
144 #define MSH_USING_BUILT_IN_COMMANDS
145 #define FINSH_USING_DESCRIPTION
146 #define FINSH_ARG_MAX 10
147 #define FINSH_USING_OPTION_COMPLETION
148 
149 /* DFS: device virtual file system */
150 
151 /* end of DFS: device virtual file system */
152 
153 /* Device Drivers */
154 
155 #define RT_USING_DEVICE_IPC
156 #define RT_UNAMED_PIPE_NUMBER 64
157 #define RT_USING_SERIAL
158 #define RT_USING_SERIAL_V2
159 #define RT_SERIAL_USING_DMA
160 #define RT_USING_I2C
161 #define RT_USING_I2C_BITOPS
162 #define RT_USING_SENSOR
163 #define RT_USING_SENSOR_CMD
164 #define RT_USING_PIN
165 /* end of Device Drivers */
166 
167 /* C/C++ and POSIX layer */
168 
169 /* ISO-ANSI C layer */
170 
171 /* Timezone and Daylight Saving Time */
172 
173 #define RT_LIBC_USING_LIGHT_TZ_DST
174 #define RT_LIBC_TZ_DEFAULT_HOUR 8
175 #define RT_LIBC_TZ_DEFAULT_MIN 0
176 #define RT_LIBC_TZ_DEFAULT_SEC 0
177 /* end of Timezone and Daylight Saving Time */
178 /* end of ISO-ANSI C layer */
179 
180 /* POSIX (Portable Operating System Interface) layer */
181 
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 /* end of C/C++ and POSIX layer */
191 
192 /* Network */
193 
194 /* end of Network */
195 
196 /* Memory protection */
197 
198 /* end of Memory protection */
199 
200 /* Utilities */
201 
202 /* end of Utilities */
203 
204 /* Using USB legacy version */
205 
206 /* end of Using USB legacy version */
207 /* end of RT-Thread Components */
208 
209 /* RT-Thread Utestcases */
210 
211 /* end of RT-Thread Utestcases */
212 
213 /* RT-Thread online packages */
214 
215 /* IoT - internet of things */
216 
217 
218 /* Wi-Fi */
219 
220 /* Marvell WiFi */
221 
222 /* end of Marvell WiFi */
223 
224 /* Wiced WiFi */
225 
226 /* end of Wiced WiFi */
227 
228 /* CYW43012 WiFi */
229 
230 /* end of CYW43012 WiFi */
231 
232 /* BL808 WiFi */
233 
234 /* end of BL808 WiFi */
235 
236 /* CYW43439 WiFi */
237 
238 /* end of CYW43439 WiFi */
239 /* end of Wi-Fi */
240 
241 /* IoT Cloud */
242 
243 /* end of IoT Cloud */
244 /* end of IoT - internet of things */
245 
246 /* security packages */
247 
248 /* end of security packages */
249 
250 /* language packages */
251 
252 /* JSON: JavaScript Object Notation, a lightweight data-interchange format */
253 
254 /* end of JSON: JavaScript Object Notation, a lightweight data-interchange format */
255 
256 /* XML: Extensible Markup Language */
257 
258 /* end of XML: Extensible Markup Language */
259 /* end of language packages */
260 
261 /* multimedia packages */
262 
263 /* LVGL: powerful and easy-to-use embedded GUI library */
264 
265 /* end of LVGL: powerful and easy-to-use embedded GUI library */
266 
267 /* u8g2: a monochrome graphic library */
268 
269 /* end of u8g2: a monochrome graphic library */
270 /* end of multimedia packages */
271 
272 /* tools packages */
273 
274 /* end of tools packages */
275 
276 /* system packages */
277 
278 /* enhanced kernel services */
279 
280 /* end of enhanced kernel services */
281 
282 /* acceleration: Assembly language or algorithmic acceleration packages */
283 
284 /* end of acceleration: Assembly language or algorithmic acceleration packages */
285 
286 /* CMSIS: ARM Cortex-M Microcontroller Software Interface Standard */
287 
288 /* end of CMSIS: ARM Cortex-M Microcontroller Software Interface Standard */
289 
290 /* Micrium: Micrium software products porting for RT-Thread */
291 
292 /* end of Micrium: Micrium software products porting for RT-Thread */
293 /* end of system packages */
294 
295 /* peripheral libraries and drivers */
296 
297 /* HAL & SDK Drivers */
298 
299 /* STM32 HAL & SDK Drivers */
300 
301 /* end of STM32 HAL & SDK Drivers */
302 
303 /* Infineon HAL Packages */
304 
305 /* end of Infineon HAL Packages */
306 
307 /* Kendryte SDK */
308 
309 /* end of Kendryte SDK */
310 /* end of HAL & SDK Drivers */
311 
312 /* sensors drivers */
313 
314 /* end of sensors drivers */
315 
316 /* touch drivers */
317 
318 /* end of touch drivers */
319 /* end of peripheral libraries and drivers */
320 
321 /* AI packages */
322 
323 /* end of AI packages */
324 
325 /* Signal Processing and Control Algorithm Packages */
326 
327 /* end of Signal Processing and Control Algorithm Packages */
328 
329 /* miscellaneous packages */
330 
331 /* project laboratory */
332 
333 /* end of project laboratory */
334 
335 /* samples: kernel and components samples */
336 
337 /* end of samples: kernel and components samples */
338 
339 /* entertainment: terminal games and other interesting software packages */
340 
341 /* end of entertainment: terminal games and other interesting software packages */
342 /* end of miscellaneous packages */
343 
344 /* Arduino libraries */
345 
346 
347 /* Projects and Demos */
348 
349 /* end of Projects and Demos */
350 
351 /* Sensors */
352 
353 /* end of Sensors */
354 
355 /* Display */
356 
357 /* end of Display */
358 
359 /* Timing */
360 
361 /* end of Timing */
362 
363 /* Data Processing */
364 
365 /* end of Data Processing */
366 
367 /* Data Storage */
368 
369 /* Communication */
370 
371 /* end of Communication */
372 
373 /* Device Control */
374 
375 /* end of Device Control */
376 
377 /* Other */
378 
379 /* end of Other */
380 
381 /* Signal IO */
382 
383 /* end of Signal IO */
384 
385 /* Uncategorized */
386 
387 /* end of Arduino libraries */
388 /* end of RT-Thread online packages */
389 #define SOC_FAMILY_RENESAS_RA
390 #define SOC_SERIES_R7FA4E2
391 
392 /* Hardware Drivers Config */
393 
394 #define SOC_R7FA4E2B9
395 
396 /* Onboard Peripheral Drivers */
397 
398 /* On-chip Peripheral Drivers */
399 
400 #define BSP_USING_GPIO
401 #define BSP_USING_UART
402 #define BSP_USING_UART9
403 #define BSP_UART9_RX_BUFSIZE 256
404 #define BSP_UART9_TX_BUFSIZE 0
405 /* end of On-chip Peripheral Drivers */
406 
407 /* Board extended module Drivers */
408 
409 /* end of Hardware Drivers Config */
410 
411 #endif
412 
413