1# Copy variable into project config.cmake to use software component 2#set.board.lpcxpresso824max 3# # description: Board_project_template lpcxpresso824max 4# set(CONFIG_USE_BOARD_Project_Template_lpcxpresso824max true) 5 6#set.device.LPC824 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 LPC824 14# set(CONFIG_USE_DEVICES_Project_Template_LPC824 true) 15 16# # description: Device LPC824_startup 17# set(CONFIG_USE_device_LPC824_startup true) 18 19# # description: Device LPC824_cmsis 20# set(CONFIG_USE_device_LPC824_CMSIS true) 21 22# # description: Clock Driver 23# set(CONFIG_USE_driver_clock true) 24 25# # description: Utility assert_lite 26# set(CONFIG_USE_utility_assert_lite true) 27 28# # description: Component lpc_gpio_adapter 29# set(CONFIG_USE_component_lpc_gpio_adapter true) 30 31# # description: Utility debug_console_lite 32# set(CONFIG_USE_utility_debug_console_lite true) 33 34# # description: Inputmux_connections Driver 35# set(CONFIG_USE_driver_inputmux_connections true) 36 37# # description: Swm_connections Driver 38# set(CONFIG_USE_driver_swm_connections true) 39 40# # description: Syscon_connections Driver 41# set(CONFIG_USE_driver_syscon_connections true) 42 43# # description: Power Driver 44# set(CONFIG_USE_driver_power_no_lib true) 45 46# # description: COMMON Driver 47# set(CONFIG_USE_driver_common true) 48 49# # description: Device LPC824_system 50# set(CONFIG_USE_device_LPC824_system true) 51 52# # description: Utility str 53# set(CONFIG_USE_utility_str true) 54 55# # description: Component button 56# set(CONFIG_USE_component_button true) 57 58# # description: Component lpc_crc_adapter 59# set(CONFIG_USE_component_lpc_crc_adapter true) 60 61# # description: Component software_crc_adapter 62# set(CONFIG_USE_component_software_crc_adapter true) 63 64# # description: Component lpc_i2c_adapter 65# set(CONFIG_USE_component_lpc_i2c_adapter true) 66 67# # description: Component led 68# set(CONFIG_USE_component_led true) 69 70# # description: Component lists 71# set(CONFIG_USE_component_lists true) 72 73# # description: Component mem_manager 74# set(CONFIG_USE_component_mem_manager true) 75 76# # description: Component mem_manager_light 77# set(CONFIG_USE_component_mem_manager_light true) 78 79# # description: Component panic 80# set(CONFIG_USE_component_panic true) 81 82# # description: Component reset_adapter 83# set(CONFIG_USE_component_reset_adapter true) 84 85# # description: Component software_rng_adapter 86# set(CONFIG_USE_component_software_rng_adapter true) 87 88# # description: Component mrt_adapter 89# set(CONFIG_USE_component_mrt_adapter true) 90 91# # description: Component timer_manager 92# set(CONFIG_USE_component_timer_manager true) 93 94# # description: Component miniusart_adapter 95# set(CONFIG_USE_component_miniusart_adapter true) 96 97# # description: CRC Driver 98# set(CONFIG_USE_driver_lpc_crc true) 99 100# # description: IAP Driver 101# set(CONFIG_USE_driver_iap true) 102 103# # description: INPUTMUX Driver 104# set(CONFIG_USE_driver_inputmux true) 105 106# # description: LPC_ACOMP Driver 107# set(CONFIG_USE_driver_lpc_acomp true) 108 109# # description: ADC Driver 110# set(CONFIG_USE_driver_lpc_adc true) 111 112# # description: DMA Driver 113# set(CONFIG_USE_driver_lpc_dma true) 114 115# # description: GPIO Driver 116# set(CONFIG_USE_driver_lpc_gpio true) 117 118# # description: I2C Driver 119# set(CONFIG_USE_driver_lpc_i2c true) 120 121# # description: IOCON Driver 122# set(CONFIG_USE_driver_lpc_iocon_lite true) 123 124# # description: SPI Driver 125# set(CONFIG_USE_driver_lpc_minispi true) 126 127# # description: USART Driver 128# set(CONFIG_USE_driver_lpc_miniusart true) 129 130# # description: MRT Driver 131# set(CONFIG_USE_driver_mrt true) 132 133# # description: PINT Driver 134# set(CONFIG_USE_driver_pint true) 135 136# # description: Reset Driver 137# set(CONFIG_USE_driver_reset true) 138 139# # description: SCT Driver 140# set(CONFIG_USE_driver_sctimer true) 141 142# # description: SWM Driver 143# set(CONFIG_USE_driver_swm true) 144 145# # description: SYSCON Driver 146# set(CONFIG_USE_driver_syscon true) 147 148# # description: WKT Driver 149# set(CONFIG_USE_driver_wkt true) 150 151# # description: WWDT Driver 152# set(CONFIG_USE_driver_wwdt true) 153 154#set.CMSIS 155# # description: CMSIS-CORE for Cortex-M, ARMv8-M, ARMv8.1-M 156# set(CONFIG_USE_CMSIS_Include_core_cm true) 157 158# # description: Access to #include Driver_USART.h file for custom implementation 159# set(CONFIG_USE_CMSIS_Driver_Include_USART true) 160 161# # description: Access to #include Driver_CAN.h file for custom implementation 162# set(CONFIG_USE_CMSIS_Driver_Include_CAN true) 163 164# # description: Access to #include Driver_ETH.h file for custom implementation 165# set(CONFIG_USE_CMSIS_Driver_Include_Ethernet true) 166 167# # description: Access to #include Driver_ETH_MAC.h file for custom implementation 168# set(CONFIG_USE_CMSIS_Driver_Include_Ethernet_MAC true) 169 170# # description: Access to #include Driver_ETH_PHY.h file for custom implementation 171# set(CONFIG_USE_CMSIS_Driver_Include_Ethernet_PHY true) 172 173# # description: Access to #include Driver_Flash.h file for custom implementation 174# set(CONFIG_USE_CMSIS_Driver_Include_Flash true) 175 176# # description: Access to #include Driver_I2C.h file for custom implementation 177# set(CONFIG_USE_CMSIS_Driver_Include_I2C true) 178 179# # description: Access to #include Driver_MCI.h file for custom implementation 180# set(CONFIG_USE_CMSIS_Driver_Include_MCI true) 181 182# # description: Access to #include Driver_NAND.h file for custom implementation 183# set(CONFIG_USE_CMSIS_Driver_Include_NAND true) 184 185# # description: Access to #include Driver_SAI.h file for custom implementation 186# set(CONFIG_USE_CMSIS_Driver_Include_SAI true) 187 188# # description: Access to #include Driver_SPI.h file for custom implementation 189# set(CONFIG_USE_CMSIS_Driver_Include_SPI true) 190 191# # description: Access to #include Driver_USBD.h file for custom implementation 192# set(CONFIG_USE_CMSIS_Driver_Include_USB_Device true) 193 194# # description: Access to #include Driver_USBH.h file for custom implementation 195# set(CONFIG_USE_CMSIS_Driver_Include_USB_Host true) 196 197# # description: Access to #include Driver_WiFi.h file 198# set(CONFIG_USE_CMSIS_Driver_Include_WiFi true) 199 200# # description: Device interrupt controller interface 201# set(CONFIG_USE_CMSIS_Device_API_OSTick true) 202 203# # description: CMSIS-RTOS API for Cortex-M, SC000, and SC300 204# set(CONFIG_USE_CMSIS_Device_API_RTOS2 true) 205 206# # description: CMSIS-RTOS2 RTX5 for Cortex-M, SC000, C300 and Armv8-M (Library) 207# set(CONFIG_USE_CMSIS_RTOS2_Secure true) 208 209# # description: CMSIS-RTOS2 RTX5 for Armv8-M Non-Secure Domain (Library) 210# set(CONFIG_USE_CMSIS_RTOS2_NonSecure true) 211 212#set.CMSIS_DSP_Lib 213# # description: CMSIS-DSP Library Header 214# set(CONFIG_USE_CMSIS_DSP_Include true) 215 216# # description: CMSIS-DSP Library 217# set(CONFIG_USE_CMSIS_DSP_Source true) 218 219# # description: CMSIS-NN Library 220# set(CONFIG_USE_CMSIS_NN_Source true) 221 222#set.component.osa 223# # description: Component osa_zephyr 224# set(CONFIG_USE_component_osa_zephyr true) 225 226# # description: Component common_task 227# set(CONFIG_USE_component_common_task true) 228 229# # description: Component osa_bm 230# set(CONFIG_USE_component_osa_bm true) 231 232# # description: Component osa 233# set(CONFIG_USE_component_osa true) 234 235# # description: Component osa interface 236# set(CONFIG_USE_component_osa_interface true) 237 238list(APPEND CMAKE_MODULE_PATH 239 ${CMAKE_CURRENT_LIST_DIR}/. 240 ${CMAKE_CURRENT_LIST_DIR}/../../components/osa 241 ${CMAKE_CURRENT_LIST_DIR}/drivers 242 ${CMAKE_CURRENT_LIST_DIR}/project_template 243 ${CMAKE_CURRENT_LIST_DIR}/../../CMSIS 244 ${CMAKE_CURRENT_LIST_DIR}/../../boards/lpcxpresso824max 245) 246 247include(set_board_lpcxpresso824max OPTIONAL) 248include(set_CMSIS_DSP_Lib OPTIONAL) 249include(set_CMSIS OPTIONAL) 250include(set_device_LPC824 OPTIONAL) 251include(set_component_osa OPTIONAL) 252