1 #ifndef RT_CONFIG_H__ 2 #define RT_CONFIG_H__ 3 4 #define BOARD_IMX6UL 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 100 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_SMALL_MEM 100 #define RT_USING_SMALL_MEM_AS_HEAP 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_MM_MMU 114 #define ARCH_ARM 115 #define ARCH_ARM_MMU 116 #define ARCH_ARM_CORTEX_A 117 #define RT_USING_GIC_V2 118 #define ARCH_ARM_CORTEX_A7 119 120 /* RT-Thread Components */ 121 122 #define RT_USING_COMPONENTS_INIT 123 #define RT_USING_MSH 124 #define RT_USING_FINSH 125 #define FINSH_USING_MSH 126 #define FINSH_THREAD_NAME "tshell" 127 #define FINSH_THREAD_PRIORITY 20 128 #define FINSH_THREAD_STACK_SIZE 4096 129 #define FINSH_USING_HISTORY 130 #define FINSH_HISTORY_LINES 5 131 #define FINSH_USING_SYMTAB 132 #define FINSH_CMD_SIZE 80 133 #define MSH_USING_BUILT_IN_COMMANDS 134 #define FINSH_USING_DESCRIPTION 135 #define FINSH_ARG_MAX 10 136 #define FINSH_USING_OPTION_COMPLETION 137 138 /* DFS: device virtual file system */ 139 140 #define RT_USING_DFS 141 #define DFS_USING_POSIX 142 #define DFS_USING_WORKDIR 143 #define DFS_FD_MAX 16 144 #define RT_USING_DFS_V1 145 #define DFS_FILESYSTEMS_MAX 2 146 #define DFS_FILESYSTEM_TYPES_MAX 2 147 #define RT_USING_DFS_DEVFS 148 /* end of DFS: device virtual file system */ 149 150 /* Device Drivers */ 151 152 #define RT_USING_DEVICE_IPC 153 #define RT_UNAMED_PIPE_NUMBER 64 154 #define RT_USING_SERIAL 155 #define RT_USING_SERIAL_V1 156 #define RT_SERIAL_USING_DMA 157 #define RT_SERIAL_RB_BUFSZ 64 158 #define RT_USING_PIN 159 /* end of Device Drivers */ 160 161 /* C/C++ and POSIX layer */ 162 163 /* ISO-ANSI C layer */ 164 165 /* Timezone and Daylight Saving Time */ 166 167 #define RT_LIBC_USING_LIGHT_TZ_DST 168 #define RT_LIBC_TZ_DEFAULT_HOUR 8 169 #define RT_LIBC_TZ_DEFAULT_MIN 0 170 #define RT_LIBC_TZ_DEFAULT_SEC 0 171 /* end of Timezone and Daylight Saving Time */ 172 /* end of ISO-ANSI C layer */ 173 174 /* POSIX (Portable Operating System Interface) layer */ 175 176 177 /* Interprocess Communication (IPC) */ 178 179 180 /* Socket is in the 'Network' category */ 181 182 /* end of Interprocess Communication (IPC) */ 183 /* end of POSIX (Portable Operating System Interface) layer */ 184 /* end of C/C++ and POSIX layer */ 185 186 /* Network */ 187 188 /* end of Network */ 189 190 /* Memory protection */ 191 192 /* end of Memory protection */ 193 194 /* Utilities */ 195 196 #define RT_USING_ADT 197 #define RT_USING_ADT_AVL 198 #define RT_USING_ADT_BITMAP 199 #define RT_USING_ADT_HASHMAP 200 #define RT_USING_ADT_REF 201 /* end of Utilities */ 202 203 /* Memory management */ 204 205 #define RT_PAGE_AFFINITY_BLOCK_SIZE 0x1000 206 #define RT_PAGE_MAX_ORDER 11 207 208 /* Debugging */ 209 210 /* end of Debugging */ 211 /* end of Memory management */ 212 213 /* Using USB legacy version */ 214 215 /* end of Using USB legacy version */ 216 /* end of RT-Thread Components */ 217 218 /* RT-Thread Utestcases */ 219 220 /* end of RT-Thread Utestcases */ 221 222 /* RT-Thread online packages */ 223 224 /* IoT - internet of things */ 225 226 227 /* Wi-Fi */ 228 229 /* Marvell WiFi */ 230 231 /* end of Marvell WiFi */ 232 233 /* Wiced WiFi */ 234 235 /* end of Wiced WiFi */ 236 237 /* CYW43012 WiFi */ 238 239 /* end of CYW43012 WiFi */ 240 241 /* BL808 WiFi */ 242 243 /* end of BL808 WiFi */ 244 245 /* CYW43439 WiFi */ 246 247 /* end of CYW43439 WiFi */ 248 /* end of Wi-Fi */ 249 250 /* IoT Cloud */ 251 252 /* end of IoT Cloud */ 253 /* end of IoT - internet of things */ 254 255 /* security packages */ 256 257 /* end of security packages */ 258 259 /* language packages */ 260 261 /* JSON: JavaScript Object Notation, a lightweight data-interchange format */ 262 263 /* end of JSON: JavaScript Object Notation, a lightweight data-interchange format */ 264 265 /* XML: Extensible Markup Language */ 266 267 /* end of XML: Extensible Markup Language */ 268 /* end of language packages */ 269 270 /* multimedia packages */ 271 272 /* LVGL: powerful and easy-to-use embedded GUI library */ 273 274 /* end of LVGL: powerful and easy-to-use embedded GUI library */ 275 276 /* u8g2: a monochrome graphic library */ 277 278 /* end of u8g2: a monochrome graphic library */ 279 /* end of multimedia packages */ 280 281 /* tools packages */ 282 283 /* end of tools packages */ 284 285 /* system packages */ 286 287 /* enhanced kernel services */ 288 289 /* end of enhanced kernel services */ 290 291 /* acceleration: Assembly language or algorithmic acceleration packages */ 292 293 /* end of acceleration: Assembly language or algorithmic acceleration packages */ 294 295 /* CMSIS: ARM Cortex-M Microcontroller Software Interface Standard */ 296 297 /* end of CMSIS: ARM Cortex-M Microcontroller Software Interface Standard */ 298 299 /* Micrium: Micrium software products porting for RT-Thread */ 300 301 /* end of Micrium: Micrium software products porting for RT-Thread */ 302 /* end of system packages */ 303 304 /* peripheral libraries and drivers */ 305 306 /* HAL & SDK Drivers */ 307 308 /* STM32 HAL & SDK Drivers */ 309 310 /* end of STM32 HAL & SDK Drivers */ 311 312 /* Infineon HAL Packages */ 313 314 /* end of Infineon HAL Packages */ 315 316 /* Kendryte SDK */ 317 318 /* end of Kendryte SDK */ 319 320 /* WCH HAL & SDK Drivers */ 321 322 /* end of WCH HAL & SDK Drivers */ 323 324 /* AT32 HAL & SDK Drivers */ 325 326 /* end of AT32 HAL & SDK Drivers */ 327 328 /* HC32 DDL Drivers */ 329 330 /* end of HC32 DDL Drivers */ 331 332 /* NXP HAL & SDK Drivers */ 333 334 #define PKG_USING_NXP_IMX6UL_DRIVER 335 #define PKG_USING_NXP_IMX6UL_DRIVER_LATEST_VERSION 336 /* end of NXP HAL & SDK Drivers */ 337 /* end of HAL & SDK Drivers */ 338 339 /* sensors drivers */ 340 341 /* end of sensors drivers */ 342 343 /* touch drivers */ 344 345 /* end of touch drivers */ 346 /* end of peripheral libraries and drivers */ 347 348 /* AI packages */ 349 350 /* end of AI packages */ 351 352 /* Signal Processing and Control Algorithm Packages */ 353 354 /* end of Signal Processing and Control Algorithm Packages */ 355 356 /* miscellaneous packages */ 357 358 /* project laboratory */ 359 360 /* end of project laboratory */ 361 362 /* samples: kernel and components samples */ 363 364 /* end of samples: kernel and components samples */ 365 366 /* entertainment: terminal games and other interesting software packages */ 367 368 /* end of entertainment: terminal games and other interesting software packages */ 369 /* end of miscellaneous packages */ 370 371 /* Arduino libraries */ 372 373 374 /* Projects and Demos */ 375 376 /* end of Projects and Demos */ 377 378 /* Sensors */ 379 380 /* end of Sensors */ 381 382 /* Display */ 383 384 /* end of Display */ 385 386 /* Timing */ 387 388 /* end of Timing */ 389 390 /* Data Processing */ 391 392 /* end of Data Processing */ 393 394 /* Data Storage */ 395 396 /* Communication */ 397 398 /* end of Communication */ 399 400 /* Device Control */ 401 402 /* end of Device Control */ 403 404 /* Other */ 405 406 /* end of Other */ 407 408 /* Signal IO */ 409 410 /* end of Signal IO */ 411 412 /* Uncategorized */ 413 414 /* end of Arduino libraries */ 415 /* end of RT-Thread online packages */ 416 #define RT_USING_UART1 417 #define SOC_MCIMX6X4 418 419 #endif 420