# Copy variable into project config.cmake to use software component #set.board.twrkm34z50mv3 # # description: Board_project_template twrkm34z50mv3 # set(CONFIG_USE_BOARD_Project_Template_twrkm34z50mv3 true) #set.device.MKM34ZA5 # # description: Middleware baremetal # set(CONFIG_USE_middleware_baremetal true) # # description: Utilities which is needed for particular toolchain like the SBRK function required to address limitation between HEAP and STACK in GCC toolchain library. # set(CONFIG_USE_utilities_misc_utilities true) # # description: Devices_project_template MKM34ZA5 # set(CONFIG_USE_DEVICES_Project_Template_MKM34ZA5 true) # # description: Device MKM34ZA5_cmsis # set(CONFIG_USE_device_MKM34ZA5_CMSIS true) # # description: Rte_device # set(CONFIG_USE_RTE_Device true) # # description: Clock Driver # set(CONFIG_USE_driver_clock true) # # description: Component serial_manager_uart # set(CONFIG_USE_component_serial_manager_uart true) # # description: Utility debug_console_lite # set(CONFIG_USE_utility_debug_console_lite true) # # description: I2C CMSIS Driver # set(CONFIG_USE_driver_cmsis_i2c true) # # description: SPI CMSIS Driver # set(CONFIG_USE_driver_cmsis_spi true) # # description: UART CMSIS Driver # set(CONFIG_USE_driver_cmsis_uart true) # # description: I2C Driver # set(CONFIG_USE_driver_i2c_dma true) # # description: SPI Driver # set(CONFIG_USE_driver_spi_dma true) # # description: UART Driver # set(CONFIG_USE_driver_uart_dma true) # # description: Utility notifier # set(CONFIG_USE_utility_notifier true) # # description: Device MKM34ZA5_system # set(CONFIG_USE_device_MKM34ZA5_system true) # # description: Device MKM34ZA5_startup # set(CONFIG_USE_device_MKM34ZA5_startup true) # # description: Utility assert # set(CONFIG_USE_utility_assert true) # # description: Utility assert_lite # set(CONFIG_USE_utility_assert_lite true) # # description: Utility str # set(CONFIG_USE_utility_str true) # # description: Utility debug_console # set(CONFIG_USE_utility_debug_console true) # # description: Component flash_adapter # set(CONFIG_USE_component_flash_adapter true) # # description: Component lists # set(CONFIG_USE_component_lists true) # # description: Component log # set(CONFIG_USE_component_log true) # # description: Component log backend debug console # set(CONFIG_USE_component_log_backend_debugconsole true) # # description: Component log backend debug console lite # set(CONFIG_USE_component_log_backend_debugconsole_lite true) # # description: Component log backend ring buffer # set(CONFIG_USE_component_log_backend_ringbuffer true) # # description: Component serial_manager # set(CONFIG_USE_component_serial_manager true) # # description: Component serial_manager_virtual # set(CONFIG_USE_component_serial_manager_virtual true) # # description: Utility shell # set(CONFIG_USE_utility_shell true) # # description: Driver slcd_engine # set(CONFIG_USE_driver_slcd_engine true) # # description: Driver slcd_gdh_1247wp # set(CONFIG_USE_driver_slcd_gdh_1247wp true) # # description: Component lptmr_adapter # set(CONFIG_USE_component_lptmr_adapter true) # # description: Component pit_adapter # set(CONFIG_USE_component_pit_adapter true) # # description: Component uart_adapter # set(CONFIG_USE_component_uart_adapter true) # # description: COMMON Driver # set(CONFIG_USE_driver_common true) # # description: ADC16 Driver # set(CONFIG_USE_driver_adc16 true) # # description: AFE Driver # set(CONFIG_USE_driver_afe true) # # description: CMP Driver # set(CONFIG_USE_driver_cmp true) # # description: CRC Driver # set(CONFIG_USE_driver_crc true) # # description: DMA Driver # set(CONFIG_USE_driver_dma true) # # description: DMAMUX Driver # set(CONFIG_USE_driver_dmamux true) # # description: EWM Driver # set(CONFIG_USE_driver_ewm true) # # description: Flash Driver # set(CONFIG_USE_driver_flash true) # # description: GPIO Driver # set(CONFIG_USE_driver_gpio true) # # description: I2C Driver # set(CONFIG_USE_driver_i2c true) # # description: I2C FreeRTOS Driver # set(CONFIG_USE_driver_i2c_freertos true) # # description: IRTC Driver # set(CONFIG_USE_driver_irtc true) # # description: LLWU Driver # set(CONFIG_USE_driver_llwu true) # # description: LPTMR Driver # set(CONFIG_USE_driver_lptmr true) # # description: PIT Driver # set(CONFIG_USE_driver_pit true) # # description: PMC Driver # set(CONFIG_USE_driver_pmc true) # # description: PORT Driver # set(CONFIG_USE_driver_port true) # # description: QTMR Driver # set(CONFIG_USE_driver_qtmr_2 true) # # description: RCM Driver # set(CONFIG_USE_driver_rcm true) # # description: RNGA Driver # set(CONFIG_USE_driver_rnga true) # # description: SIM Driver # set(CONFIG_USE_driver_sim true) # # description: SLCD Driver # set(CONFIG_USE_driver_slcd true) # # description: SMC Driver # set(CONFIG_USE_driver_smc true) # # description: SPI Driver # set(CONFIG_USE_driver_spi true) # # description: SPI FreeRTOS Driver # set(CONFIG_USE_driver_spi_freertos true) # # description: SYSMPU Driver # set(CONFIG_USE_driver_sysmpu true) # # description: UART Driver # set(CONFIG_USE_driver_uart true) # # description: UART FreeRTOS Driver # set(CONFIG_USE_driver_uart_freertos true) # # description: VREF Driver # set(CONFIG_USE_driver_vref true) # # description: WDOG Driver # set(CONFIG_USE_driver_wdog true) # # description: XBAR Driver # set(CONFIG_USE_driver_xbar true) #set.CMSIS # # description: CMSIS-CORE for Cortex-M, ARMv8-M, ARMv8.1-M # set(CONFIG_USE_CMSIS_Include_core_cm true) # # description: Access to #include Driver_USART.h file for custom implementation # set(CONFIG_USE_CMSIS_Driver_Include_USART true) # # description: Access to #include Driver_CAN.h file for custom implementation # set(CONFIG_USE_CMSIS_Driver_Include_CAN true) # # description: Access to #include Driver_ETH.h file for custom implementation # set(CONFIG_USE_CMSIS_Driver_Include_Ethernet true) # # description: Access to #include Driver_ETH_MAC.h file for custom implementation # set(CONFIG_USE_CMSIS_Driver_Include_Ethernet_MAC true) # # description: Access to #include Driver_ETH_PHY.h file for custom implementation # set(CONFIG_USE_CMSIS_Driver_Include_Ethernet_PHY true) # # description: Access to #include Driver_Flash.h file for custom implementation # set(CONFIG_USE_CMSIS_Driver_Include_Flash true) # # description: Access to #include Driver_I2C.h file for custom implementation # set(CONFIG_USE_CMSIS_Driver_Include_I2C true) # # description: Access to #include Driver_MCI.h file for custom implementation # set(CONFIG_USE_CMSIS_Driver_Include_MCI true) # # description: Access to #include Driver_NAND.h file for custom implementation # set(CONFIG_USE_CMSIS_Driver_Include_NAND true) # # description: Access to #include Driver_SAI.h file for custom implementation # set(CONFIG_USE_CMSIS_Driver_Include_SAI true) # # description: Access to #include Driver_SPI.h file for custom implementation # set(CONFIG_USE_CMSIS_Driver_Include_SPI true) # # description: Access to #include Driver_USBD.h file for custom implementation # set(CONFIG_USE_CMSIS_Driver_Include_USB_Device true) # # description: Access to #include Driver_USBH.h file for custom implementation # set(CONFIG_USE_CMSIS_Driver_Include_USB_Host true) # # description: Access to #include Driver_WiFi.h file # set(CONFIG_USE_CMSIS_Driver_Include_WiFi true) # # description: Device interrupt controller interface # set(CONFIG_USE_CMSIS_Device_API_OSTick true) # # description: CMSIS-RTOS API for Cortex-M, SC000, and SC300 # set(CONFIG_USE_CMSIS_Device_API_RTOS2 true) # # description: CMSIS-RTOS2 RTX5 for Cortex-M, SC000, C300 and Armv8-M (Library) # set(CONFIG_USE_CMSIS_RTOS2_Secure true) # # description: CMSIS-RTOS2 RTX5 for Armv8-M Non-Secure Domain (Library) # set(CONFIG_USE_CMSIS_RTOS2_NonSecure true) #set.CMSIS_DSP_Lib # # description: CMSIS-DSP Library Header # set(CONFIG_USE_CMSIS_DSP_Include true) # # description: CMSIS-DSP Library # set(CONFIG_USE_CMSIS_DSP_Source true) # # description: CMSIS-NN Library # set(CONFIG_USE_CMSIS_NN_Source true) #set.middleware.freertos-kernel # # description: FreeRTOS NXP extension # set(CONFIG_USE_middleware_freertos-kernel_extension true) # # description: Template configuration file to be edited by user. Provides also memory allocator (heap_x), change variant if needed. # set(CONFIG_USE_middleware_freertos-kernel_template true) # # description: FreeRTOS kernel # set(CONFIG_USE_middleware_freertos-kernel true) # # description: FreeRTOS heap 1 # set(CONFIG_USE_middleware_freertos-kernel_heap_1 true) # # description: FreeRTOS heap 2 # set(CONFIG_USE_middleware_freertos-kernel_heap_2 true) # # description: FreeRTOS heap 3 # set(CONFIG_USE_middleware_freertos-kernel_heap_3 true) # # description: FreeRTOS heap 4 # set(CONFIG_USE_middleware_freertos-kernel_heap_4 true) # # description: FreeRTOS heap 5 # set(CONFIG_USE_middleware_freertos-kernel_heap_5 true) # # description: new V2 FreeRTOS MPU wrappers introduced in V10.6.0 # set(CONFIG_USE_middleware_freertos-kernel_mpu_wrappers_v2 true) # # description: old FreeRTOS MPU wrappers used before V10.6.0 # set(CONFIG_USE_middleware_freertos-kernel_mpu_wrappers true) #set.middleware.mmcau # # description: MMCAU security function library source files # set(CONFIG_USE_middleware_mmcau_mmcau_files true) # # description: MMCAU library for ARM Cortex M0+ core # set(CONFIG_USE_middleware_mmcau_cm0p true) # # description: MMCAU common library source files # set(CONFIG_USE_middleware_mmcau_common_files true) list(APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_LIST_DIR}/. ${CMAKE_CURRENT_LIST_DIR}/../../middleware/mmcau ${CMAKE_CURRENT_LIST_DIR}/../../../rtos/freertos/freertos-kernel ${CMAKE_CURRENT_LIST_DIR}/drivers ${CMAKE_CURRENT_LIST_DIR}/project_template ${CMAKE_CURRENT_LIST_DIR}/template ${CMAKE_CURRENT_LIST_DIR}/../../CMSIS ${CMAKE_CURRENT_LIST_DIR}/../../boards/twrkm34z50mv3 ) include(set_board_twrkm34z50mv3 OPTIONAL) include(set_CMSIS_DSP_Lib OPTIONAL) include(set_CMSIS OPTIONAL) include(set_device_MKM34ZA5 OPTIONAL) include(set_middleware_freertos-kernel OPTIONAL) include(set_middleware_mmcau OPTIONAL)