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