1# Copy variable into project config.cmake to use software component 2#set.board.evkmimx8mq 3# # description: Board_project_template evkmimx8mq 4# set(CONFIG_USE_BOARD_Project_Template_evkmimx8mq true) 5 6#set.device.MIMX8MQ6 7# # description: Middleware baremetal 8# set(CONFIG_USE_middleware_baremetal true) 9 10# # description: Utilities which is needed for particular toolchain like the SBRK function required to address limitation between HEAP and STACK in GCC toolchain library. 11# set(CONFIG_USE_utilities_misc_utilities true) 12 13# # description: Devices_project_template MIMX8MQ6 14# set(CONFIG_USE_DEVICES_Project_Template_MIMX8MQ6 true) 15 16# # description: Device MIMX8MQ6_cmsis 17# set(CONFIG_USE_device_MIMX8MQ6_CMSIS true) 18 19# # description: Rte_device 20# set(CONFIG_USE_RTE_Device true) 21 22# # description: Clock Driver 23# set(CONFIG_USE_driver_clock true) 24 25# # description: Component serial_manager_uart 26# set(CONFIG_USE_component_serial_manager_uart true) 27 28# # description: Utility debug_console_lite 29# set(CONFIG_USE_utility_debug_console_lite true) 30 31# # description: IOMUXC Driver 32# set(CONFIG_USE_driver_iomuxc true) 33 34# # description: Device MIMX8MQ6_system 35# set(CONFIG_USE_device_MIMX8MQ6_system true) 36 37# # description: Device MIMX8MQ6_startup 38# set(CONFIG_USE_device_MIMX8MQ6_startup true) 39 40# # description: Utility assert 41# set(CONFIG_USE_utility_assert true) 42 43# # description: Utility assert_lite 44# set(CONFIG_USE_utility_assert_lite true) 45 46# # description: Utility str 47# set(CONFIG_USE_utility_str true) 48 49# # description: Utility debug_console 50# set(CONFIG_USE_utility_debug_console true) 51 52# # description: ECSPI CMSIS Driver 53# set(CONFIG_USE_driver_cmsis_ecspi true) 54 55# # description: I2C CMSIS Driver 56# set(CONFIG_USE_driver_cmsis_ii2c true) 57 58# # description: UART CMSIS Driver 59# set(CONFIG_USE_driver_cmsis_iuart true) 60 61# # description: IO expander PCA6416A driver 62# set(CONFIG_USE_driver_pca6416a true) 63 64# # description: Component button 65# set(CONFIG_USE_component_button true) 66 67# # description: Driver codec 68# set(CONFIG_USE_driver_codec true) 69 70# # description: Component codec adapters for multi codec 71# set(CONFIG_USE_component_codec_adapters true) 72 73# # description: Component wm8524 adapter for single codec 74# set(CONFIG_USE_component_wm8524_adapter true) 75 76# # description: Component codec_i2c 77# set(CONFIG_USE_component_codec_i2c true) 78 79# # description: Component software_crc_adapter 80# set(CONFIG_USE_component_software_crc_adapter true) 81 82# # description: Component igpio_adapter 83# set(CONFIG_USE_component_igpio_adapter true) 84 85# # description: Component ii2c_adapter 86# set(CONFIG_USE_component_ii2c_adapter true) 87 88# # description: Component led 89# set(CONFIG_USE_component_led true) 90 91# # description: Component lists 92# set(CONFIG_USE_component_lists true) 93 94# # description: Component mem_manager 95# set(CONFIG_USE_component_mem_manager true) 96 97# # description: Component mem_manager_light 98# set(CONFIG_USE_component_mem_manager_light true) 99 100# # description: Component mem_manager_freertos 101# set(CONFIG_USE_component_mem_manager_freertos true) 102 103# # description: Component panic 104# set(CONFIG_USE_component_panic true) 105 106# # description: Component reset_adapter 107# set(CONFIG_USE_component_reset_adapter true) 108 109# # description: Component software_rng_adapter 110# set(CONFIG_USE_component_software_rng_adapter true) 111 112# # description: Component serial_manager 113# set(CONFIG_USE_component_serial_manager true) 114 115# # description: Component serial_manager_virtual 116# set(CONFIG_USE_component_serial_manager_virtual true) 117 118# # description: Component serial_manager_swo 119# set(CONFIG_USE_component_serial_manager_swo true) 120 121# # description: Component gpt_adapter 122# set(CONFIG_USE_component_gpt_adapter true) 123 124# # description: Component timer_manager 125# set(CONFIG_USE_component_timer_manager true) 126 127# # description: Component iuart_adapter 128# set(CONFIG_USE_component_iuart_adapter true) 129 130# # description: Driver wm8524 131# set(CONFIG_USE_driver_wm8524 true) 132 133# # description: COMMON Driver 134# set(CONFIG_USE_driver_common true) 135 136# # description: CACHE LMEM Driver 137# set(CONFIG_USE_driver_cache_lmem true) 138 139# # description: ECSPI Driver 140# set(CONFIG_USE_driver_ecspi true) 141 142# # description: ECSPI FreeRTOS Driver 143# set(CONFIG_USE_driver_ecspi_freertos true) 144 145# # description: GPT Driver 146# set(CONFIG_USE_driver_gpt true) 147 148# # description: GPIO Driver 149# set(CONFIG_USE_driver_igpio true) 150 151# # description: I2C Driver 152# set(CONFIG_USE_driver_ii2c true) 153 154# # description: I2C Freertos Driver 155# set(CONFIG_USE_driver_ii2c_freertos true) 156 157# # description: PWM Driver 158# set(CONFIG_USE_driver_ipwm true) 159 160# # description: IUART Driver 161# set(CONFIG_USE_driver_iuart true) 162 163# # description: IUART Freertos Driver 164# set(CONFIG_USE_driver_iuart_freertos true) 165 166# # description: MU Driver 167# set(CONFIG_USE_driver_mu true) 168 169# # description: QSPI Driver 170# set(CONFIG_USE_driver_qspi true) 171 172# # description: RDC Driver 173# set(CONFIG_USE_driver_rdc true) 174 175# # description: RDC SEMA42 Driver 176# set(CONFIG_USE_driver_rdc_sema42 true) 177 178# # description: SAI Driver 179# set(CONFIG_USE_driver_sai true) 180 181# # description: SEMA4 Driver 182# set(CONFIG_USE_driver_sema4 true) 183 184# # description: TMU Driver 185# set(CONFIG_USE_driver_tmu true) 186 187# # description: wdog01 Driver 188# set(CONFIG_USE_driver_wdog01 true) 189 190#set.CMSIS 191# # description: CMSIS-CORE for Cortex-M, ARMv8-M, ARMv8.1-M 192# set(CONFIG_USE_CMSIS_Include_core_cm true) 193 194# # description: Access to #include Driver_USART.h file for custom implementation 195# set(CONFIG_USE_CMSIS_Driver_Include_USART true) 196 197# # description: Access to #include Driver_CAN.h file for custom implementation 198# set(CONFIG_USE_CMSIS_Driver_Include_CAN true) 199 200# # description: Access to #include Driver_ETH.h file for custom implementation 201# set(CONFIG_USE_CMSIS_Driver_Include_Ethernet true) 202 203# # description: Access to #include Driver_ETH_MAC.h file for custom implementation 204# set(CONFIG_USE_CMSIS_Driver_Include_Ethernet_MAC true) 205 206# # description: Access to #include Driver_ETH_PHY.h file for custom implementation 207# set(CONFIG_USE_CMSIS_Driver_Include_Ethernet_PHY true) 208 209# # description: Access to #include Driver_Flash.h file for custom implementation 210# set(CONFIG_USE_CMSIS_Driver_Include_Flash true) 211 212# # description: Access to #include Driver_I2C.h file for custom implementation 213# set(CONFIG_USE_CMSIS_Driver_Include_I2C true) 214 215# # description: Access to #include Driver_MCI.h file for custom implementation 216# set(CONFIG_USE_CMSIS_Driver_Include_MCI true) 217 218# # description: Access to #include Driver_NAND.h file for custom implementation 219# set(CONFIG_USE_CMSIS_Driver_Include_NAND true) 220 221# # description: Access to #include Driver_SAI.h file for custom implementation 222# set(CONFIG_USE_CMSIS_Driver_Include_SAI true) 223 224# # description: Access to #include Driver_SPI.h file for custom implementation 225# set(CONFIG_USE_CMSIS_Driver_Include_SPI true) 226 227# # description: Access to #include Driver_USBD.h file for custom implementation 228# set(CONFIG_USE_CMSIS_Driver_Include_USB_Device true) 229 230# # description: Access to #include Driver_USBH.h file for custom implementation 231# set(CONFIG_USE_CMSIS_Driver_Include_USB_Host true) 232 233# # description: Access to #include Driver_WiFi.h file 234# set(CONFIG_USE_CMSIS_Driver_Include_WiFi true) 235 236# # description: Device interrupt controller interface 237# set(CONFIG_USE_CMSIS_Device_API_OSTick true) 238 239# # description: CMSIS-RTOS API for Cortex-M, SC000, and SC300 240# set(CONFIG_USE_CMSIS_Device_API_RTOS2 true) 241 242# # description: CMSIS-RTOS2 RTX5 for Cortex-M, SC000, C300 and Armv8-M (Library) 243# set(CONFIG_USE_CMSIS_RTOS2_Secure true) 244 245# # description: CMSIS-RTOS2 RTX5 for Armv8-M Non-Secure Domain (Library) 246# set(CONFIG_USE_CMSIS_RTOS2_NonSecure true) 247 248#set.CMSIS_DSP_Lib 249# # description: CMSIS-DSP Library Header 250# set(CONFIG_USE_CMSIS_DSP_Include true) 251 252# # description: CMSIS-DSP Library 253# set(CONFIG_USE_CMSIS_DSP_Source true) 254 255# # description: CMSIS-NN Library 256# set(CONFIG_USE_CMSIS_NN_Source true) 257 258#set.middleware.freertos-kernel 259# # description: FreeRTOS NXP extension 260# set(CONFIG_USE_middleware_freertos-kernel_extension true) 261 262# # description: Template configuration file to be edited by user. Provides also memory allocator (heap_x), change variant if needed. 263# set(CONFIG_USE_middleware_freertos-kernel_template true) 264 265# # description: FreeRTOS kernel 266# set(CONFIG_USE_middleware_freertos-kernel true) 267 268# # description: FreeRTOS heap 1 269# set(CONFIG_USE_middleware_freertos-kernel_heap_1 true) 270 271# # description: FreeRTOS heap 2 272# set(CONFIG_USE_middleware_freertos-kernel_heap_2 true) 273 274# # description: FreeRTOS heap 3 275# set(CONFIG_USE_middleware_freertos-kernel_heap_3 true) 276 277# # description: FreeRTOS heap 4 278# set(CONFIG_USE_middleware_freertos-kernel_heap_4 true) 279 280# # description: FreeRTOS heap 5 281# set(CONFIG_USE_middleware_freertos-kernel_heap_5 true) 282 283# # description: new V2 FreeRTOS MPU wrappers introduced in V10.6.0 284# set(CONFIG_USE_middleware_freertos-kernel_mpu_wrappers_v2 true) 285 286# # description: old FreeRTOS MPU wrappers used before V10.6.0 287# set(CONFIG_USE_middleware_freertos-kernel_mpu_wrappers true) 288 289#set.middleware.multicore 290# # description: Multicore SDK 291# set(CONFIG_USE_middleware_multicore true) 292 293# # description: remoteproc-load script 294# set(CONFIG_USE_middleware_multicore_remoteproc_loadscript true) 295 296# # description: RPMsg-Lite BM environment sources 297# set(CONFIG_USE_middleware_multicore_rpmsg_lite_bm true) 298 299# # description: RPMsg-Lite FreeRTOS environment sources 300# set(CONFIG_USE_middleware_multicore_rpmsg_lite_freertos true) 301 302# # description: RPMsg-Lite XOS environment layer sources 303# set(CONFIG_USE_middleware_multicore_rpmsg_lite_xos true) 304 305# # description: RPMsg-Lite Azure RTOS environment sources 306# set(CONFIG_USE_middleware_multicore_rpmsg_lite_azurertos true) 307 308# # description: RPMsg-Lite for evkmimx8mq baremetal application 309# set(CONFIG_USE_middleware_multicore_rpmsg_lite_imx8mq_m4_bm true) 310 311# # description: RPMsg-Lite for evkmimx8mq FreeRTOS application 312# set(CONFIG_USE_middleware_multicore_rpmsg_lite_imx8mq_m4_freertos true) 313 314# # description: RPMsg-Lite baremetal for evkmimx8mq board 315# set(CONFIG_USE_middleware_multicore_rpmsg_lite_bm_config true) 316 317# # description: RPMsg-Lite FreeRTOS for evkmimx8mq board 318# set(CONFIG_USE_middleware_multicore_rpmsg_lite_freertos_config true) 319 320# # description: RPMsg-Lite Zephyr environment sources 321# set(CONFIG_USE_middleware_multicore_rpmsg_lite_zephyr true) 322 323# # description: RPMsg-Lite 324# set(CONFIG_USE_middleware_multicore_rpmsg_lite true) 325 326#set.middleware.usb 327# # description: USB device phydcd config header 328# set(CONFIG_USE_middleware_usb_phydcd_config_header true) 329 330# # description: USB device hsdcd config header 331# set(CONFIG_USE_middleware_usb_hsdcd_config_header true) 332 333# # description: Middleware usb common_header 334# set(CONFIG_USE_middleware_usb_common_header true) 335 336# # description: Middleware usb device common_header 337# set(CONFIG_USE_middleware_usb_device_common_header true) 338 339#set.component.osa 340# # description: Component osa_zephyr 341# set(CONFIG_USE_component_osa_zephyr true) 342 343# # description: Component common_task 344# set(CONFIG_USE_component_common_task true) 345 346# # description: Component osa_bm 347# set(CONFIG_USE_component_osa_bm true) 348 349# # description: Component osa_free_rtos 350# set(CONFIG_USE_component_osa_free_rtos true) 351 352# # description: Component osa 353# set(CONFIG_USE_component_osa true) 354 355# # description: Component osa interface 356# set(CONFIG_USE_component_osa_interface true) 357 358list(APPEND CMAKE_MODULE_PATH 359 ${CMAKE_CURRENT_LIST_DIR}/. 360 ${CMAKE_CURRENT_LIST_DIR}/../../components/osa 361 ${CMAKE_CURRENT_LIST_DIR}/../../../middleware/multicore 362 ${CMAKE_CURRENT_LIST_DIR}/../../../middleware/usb 363 ${CMAKE_CURRENT_LIST_DIR}/../../../rtos/freertos/freertos-kernel 364 ${CMAKE_CURRENT_LIST_DIR}/drivers 365 ${CMAKE_CURRENT_LIST_DIR}/project_template 366 ${CMAKE_CURRENT_LIST_DIR}/template 367 ${CMAKE_CURRENT_LIST_DIR}/../../CMSIS 368 ${CMAKE_CURRENT_LIST_DIR}/../../boards/evkmimx8mq 369) 370 371include(set_board_evkmimx8mq OPTIONAL) 372include(set_CMSIS_DSP_Lib OPTIONAL) 373include(set_CMSIS OPTIONAL) 374include(set_device_MIMX8MQ6 OPTIONAL) 375include(set_component_osa OPTIONAL) 376include(set_middleware_freertos-kernel OPTIONAL) 377include(set_middleware_multicore OPTIONAL) 378include(set_middleware_usb OPTIONAL) 379