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