# Copy variable into project config.cmake to use software component #set.board.lpcxpresso860max # # description: Board_project_template lpcxpresso860max # set(CONFIG_USE_BOARD_Project_Template_lpcxpresso860max true) #set.device.LPC865 # # 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 icm42688p # set(CONFIG_USE_driver_icm42688p true) # # description: Devices_project_template LPC865 # set(CONFIG_USE_DEVICES_Project_Template_LPC865 true) # # description: Device LPC865_startup # set(CONFIG_USE_device_LPC865_startup true) # # description: Device LPC865_cmsis # set(CONFIG_USE_device_LPC865_CMSIS true) # # description: Clock Driver # set(CONFIG_USE_driver_clock true) # # description: Utility assert_lite # set(CONFIG_USE_utility_assert_lite true) # # description: Component lpc_gpio_adapter # set(CONFIG_USE_component_lpc_gpio_adapter true) # # description: Utility debug_console_lite # set(CONFIG_USE_utility_debug_console_lite true) # # description: I2C Driver # set(CONFIG_USE_driver_lpc_i2c_dma true) # # description: Inputmux_connections Driver # set(CONFIG_USE_driver_inputmux_connections true) # # description: Swm_connections Driver # set(CONFIG_USE_driver_swm_connections true) # # description: Syscon_connections Driver # set(CONFIG_USE_driver_syscon_connections true) # # description: Power Driver # set(CONFIG_USE_driver_power_no_lib true) # # description: COMMON Driver # set(CONFIG_USE_driver_common true) # # description: Device LPC865_system # set(CONFIG_USE_device_LPC865_system true) # # description: Utility str # set(CONFIG_USE_utility_str true) # # description: Component button # set(CONFIG_USE_component_button true) # # description: Component lpc_crc_adapter # set(CONFIG_USE_component_lpc_crc_adapter true) # # description: Component software_crc_adapter # set(CONFIG_USE_component_software_crc_adapter true) # # description: Component lpc_i2c_adapter # set(CONFIG_USE_component_lpc_i2c_adapter true) # # description: Component i3c_adapter # set(CONFIG_USE_component_i3c_adapter true) # # description: Component led # set(CONFIG_USE_component_led true) # # description: Component lists # set(CONFIG_USE_component_lists 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: 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 ftm_adapter # set(CONFIG_USE_component_ftm_adapter true) # # description: Component mrt_adapter # set(CONFIG_USE_component_mrt_adapter true) # # description: Component timer_manager # set(CONFIG_USE_component_timer_manager true) # # description: Component miniusart_adapter # set(CONFIG_USE_component_miniusart_adapter true) # # description: CRC Driver # set(CONFIG_USE_driver_lpc_crc true) # # description: IAP Driver # set(CONFIG_USE_driver_iap true) # # description: INPUTMUX Driver # set(CONFIG_USE_driver_inputmux true) # # description: LPC_ACOMP Driver # set(CONFIG_USE_driver_lpc_acomp true) # # description: ADC Driver # set(CONFIG_USE_driver_lpc_adc true) # # description: DMA Driver # set(CONFIG_USE_driver_lpc_dma true) # # description: GPIO Driver # set(CONFIG_USE_driver_lpc_gpio true) # # description: I2C Driver # set(CONFIG_USE_driver_lpc_i2c true) # # description: IOCON Driver # set(CONFIG_USE_driver_lpc_iocon_lite true) # # description: SPI Driver # set(CONFIG_USE_driver_lpc_minispi true) # # description: USART Driver # set(CONFIG_USE_driver_lpc_miniusart true) # # description: MRT Driver # set(CONFIG_USE_driver_mrt true) # # description: PINT Driver # set(CONFIG_USE_driver_pint true) # # description: Reset Driver # set(CONFIG_USE_driver_reset true) # # description: SWM Driver # set(CONFIG_USE_driver_swm true) # # description: SYSCON Driver # set(CONFIG_USE_driver_syscon true) # # description: WKT Driver # set(CONFIG_USE_driver_wkt true) # # description: WWDT Driver # set(CONFIG_USE_driver_wwdt true) # # description: I3C Driver # set(CONFIG_USE_driver_i3c true) # # description: I3C DMA Driver # set(CONFIG_USE_driver_i3c_dma true) # # description: Component i3c_bus # set(CONFIG_USE_component_i3c_bus true) # # description: Component i3c_bus_adapter # set(CONFIG_USE_component_i3c_bus_adapter true) # # description: FTM Driver # set(CONFIG_USE_driver_ftm 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}/../../CMSIS ${CMAKE_CURRENT_LIST_DIR}/../../boards/lpcxpresso860max ) include(set_board_lpcxpresso860max OPTIONAL) include(set_CMSIS_DSP_Lib OPTIONAL) include(set_CMSIS OPTIONAL) include(set_device_LPC865 OPTIONAL) include(set_component_osa OPTIONAL) include(set_middleware_freertos-kernel OPTIONAL)