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