# Copy variable into project config.cmake to use software component #set.board.frdmke16z # # description: Board_project_template frdmke16z # set(CONFIG_USE_BOARD_Project_Template_frdmke16z true) #set.device.MKE16Z4 # # 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: Driver mx25r_flash # set(CONFIG_USE_driver_mx25r_flash true) # # description: Driver pf1550 # set(CONFIG_USE_driver_pf1550 true) # # description: Driver pf3000 # set(CONFIG_USE_driver_pf3000 true) # # description: Devices_project_template MKE16Z4 # set(CONFIG_USE_DEVICES_Project_Template_MKE16Z4 true) # # description: Device MKE16Z4_startup # set(CONFIG_USE_device_MKE16Z4_startup true) # # description: Device MKE16Z4_cmsis # set(CONFIG_USE_device_MKE16Z4_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: Utility notifier # set(CONFIG_USE_utility_notifier true) # # description: Device MKE16Z4_system # set(CONFIG_USE_device_MKE16Z4_system 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: LPI2C CMSIS Driver # set(CONFIG_USE_driver_cmsis_lpi2c true) # # description: LPSPI CMSIS Driver # set(CONFIG_USE_driver_cmsis_lpspi true) # # description: LPUART CMSIS Driver # set(CONFIG_USE_driver_cmsis_lpuart true) # # description: Component button # set(CONFIG_USE_component_button true) # # description: Component crc_adapter # set(CONFIG_USE_component_crc_adapter true) # # description: Component software_crc_adapter # set(CONFIG_USE_component_software_crc_adapter true) # # description: Component eeprom_internalflash # set(CONFIG_USE_component_eeprom_InternalFlash true) # # description: Driver ft5406 # set(CONFIG_USE_driver_ft5406 true) # # description: Driver ft6x06 # set(CONFIG_USE_driver_ft6x06 true) # # description: Driver fxos8700cq # set(CONFIG_USE_driver_fxos8700cq true) # # description: Component gpio_adapter # set(CONFIG_USE_component_gpio_adapter true) # # description: Component lpi2c_adapter # set(CONFIG_USE_component_lpi2c_adapter true) # # description: Driver ili9341 # set(CONFIG_USE_driver_ili9341 true) # # description: Component flash_adapter # set(CONFIG_USE_component_flash_adapter true) # # description: Component led # set(CONFIG_USE_component_led 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 mem_manager # set(CONFIG_USE_component_mem_manager true) # # description: Component mem_manager_light # set(CONFIG_USE_component_mem_manager_light true) # # description: Component mem_manager_freertos # set(CONFIG_USE_component_mem_manager_freertos true) # # description: Driver mma8451q # set(CONFIG_USE_driver_mma8451q true) # # description: Component panic # set(CONFIG_USE_component_panic true) # # description: Component pwm_ftm_adapter # set(CONFIG_USE_component_pwm_ftm_adapter true) # # description: Component reset_adapter # set(CONFIG_USE_component_reset_adapter true) # # description: Component software_rng_adapter # set(CONFIG_USE_component_software_rng_adapter true) # # description: Component rtc # set(CONFIG_USE_component_rtc true) # # description: Component serial_manager # set(CONFIG_USE_component_serial_manager true) # # description: Component serial_manager_spi # set(CONFIG_USE_component_serial_manager_spi true) # # description: Component serial_manager_virtual # set(CONFIG_USE_component_serial_manager_virtual true) # # description: Utility shell # set(CONFIG_USE_utility_shell true) # # description: Component lpspi_adapter # set(CONFIG_USE_component_lpspi_adapter true) # # description: Component ftm_adapter # set(CONFIG_USE_component_ftm_adapter true) # # description: Component lpit_adapter # set(CONFIG_USE_component_lpit_adapter true) # # description: Component lptmr_adapter # set(CONFIG_USE_component_lptmr_adapter true) # # description: Component timer_manager # set(CONFIG_USE_component_timer_manager true) # # description: Component lpuart_adapter # set(CONFIG_USE_component_lpuart_adapter true) # # description: COMMON Driver # set(CONFIG_USE_driver_common true) # # description: ACMP Driver # set(CONFIG_USE_driver_acmp true) # # description: ADC12 Driver # set(CONFIG_USE_driver_adc12 true) # # description: CRC Driver # set(CONFIG_USE_driver_crc true) # # description: EWM Driver # set(CONFIG_USE_driver_ewm true) # # description: Flash Driver # set(CONFIG_USE_driver_flash true) # # description: FTM Driver # set(CONFIG_USE_driver_ftm true) # # description: GPIO Driver # set(CONFIG_USE_driver_gpio true) # # description: LPI2C Driver # set(CONFIG_USE_driver_lpi2c true) # # description: LPI2C FreeRTOS Driver # set(CONFIG_USE_driver_lpi2c_freertos true) # # description: LPIT Driver # set(CONFIG_USE_driver_lpit true) # # description: LPSPI Driver # set(CONFIG_USE_driver_lpspi true) # # description: LPSPI FreeRTOS Driver # set(CONFIG_USE_driver_lpspi_freertos true) # # description: LPTMR Driver # set(CONFIG_USE_driver_lptmr true) # # description: LPUART Driver # set(CONFIG_USE_driver_lpuart true) # # description: LPUART Freertos Driver # set(CONFIG_USE_driver_lpuart_freertos true) # # description: MMDVSQ Driver # set(CONFIG_USE_driver_mmdvsq true) # # description: MSCAN Driver # set(CONFIG_USE_driver_mscan true) # # description: PDB Driver # set(CONFIG_USE_driver_pdb true) # # description: PMC Driver # set(CONFIG_USE_driver_pmc true) # # description: PORT Driver # set(CONFIG_USE_driver_port true) # # description: PWT Driver # set(CONFIG_USE_driver_pwt true) # # description: RCM Driver # set(CONFIG_USE_driver_rcm true) # # description: RTC Driver # set(CONFIG_USE_driver_rtc true) # # description: SIM Driver # set(CONFIG_USE_driver_sim true) # # description: SMC Driver # set(CONFIG_USE_driver_smc true) # # description: TRGMUX Driver # set(CONFIG_USE_driver_trgmux true) # # description: TSI Driver # set(CONFIG_USE_driver_tsi_v5 true) # # description: WDOG32 Driver # set(CONFIG_USE_driver_wdog32 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.component.osa # # description: Component osa_zephyr # set(CONFIG_USE_component_osa_zephyr true) # # description: Component common_task # set(CONFIG_USE_component_common_task true) # # description: Component osa_bm # set(CONFIG_USE_component_osa_bm true) # # description: Component osa_free_rtos # set(CONFIG_USE_component_osa_free_rtos true) # # description: Component osa # set(CONFIG_USE_component_osa true) # # description: Component osa interface # set(CONFIG_USE_component_osa_interface true) list(APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_LIST_DIR}/. ${CMAKE_CURRENT_LIST_DIR}/../../components/osa ${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/frdmke16z ) include(set_board_frdmke16z OPTIONAL) include(set_CMSIS_DSP_Lib OPTIONAL) include(set_CMSIS OPTIONAL) include(set_device_MKE16Z4 OPTIONAL) include(set_component_osa OPTIONAL) include(set_middleware_freertos-kernel OPTIONAL)