1# Copy variable into project config.cmake to use software component
2#set.board.frdmke17z
3#  # description: Board_project_template frdmke17z
4#  set(CONFIG_USE_BOARD_Project_Template_frdmke17z true)
5
6#set.device.MKE17Z7
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 MKE17Z7
14#  set(CONFIG_USE_DEVICES_Project_Template_MKE17Z7 true)
15
16#  # description: Device MKE17Z7_startup
17#  set(CONFIG_USE_device_MKE17Z7_startup true)
18
19#  # description: Device MKE17Z7_cmsis
20#  set(CONFIG_USE_device_MKE17Z7_CMSIS true)
21
22#  # description: Rte_device
23#  set(CONFIG_USE_RTE_Device true)
24
25#  # description: LPI2C Driver
26#  set(CONFIG_USE_driver_lpi2c_edma true)
27
28#  # description: LPSPI Driver
29#  set(CONFIG_USE_driver_lpspi_edma true)
30
31#  # description: LPUART Driver
32#  set(CONFIG_USE_driver_lpuart_edma true)
33
34#  # description: FLEXIO SPI EDMA Driver
35#  set(CONFIG_USE_driver_flexio_spi_edma true)
36
37#  # description: FLEXIO UART EDMA Driver
38#  set(CONFIG_USE_driver_flexio_uart_edma true)
39
40#  # description: Clock Driver
41#  set(CONFIG_USE_driver_clock true)
42
43#  # description: Component serial_manager_uart
44#  set(CONFIG_USE_component_serial_manager_uart true)
45
46#  # description: Utility debug_console_lite
47#  set(CONFIG_USE_utility_debug_console_lite true)
48
49#  # description: LPSPI CMSIS Driver
50#  set(CONFIG_USE_driver_cmsis_lpspi true)
51
52#  # description: LPI2C CMSIS Driver
53#  set(CONFIG_USE_driver_cmsis_lpi2c true)
54
55#  # description: LPUART CMSIS Driver
56#  set(CONFIG_USE_driver_cmsis_lpuart true)
57
58#  # description: Utility notifier
59#  set(CONFIG_USE_utility_notifier true)
60
61#  # description: Device MKE17Z7_system
62#  set(CONFIG_USE_device_MKE17Z7_system true)
63
64#  # description: Utility assert
65#  set(CONFIG_USE_utility_assert true)
66
67#  # description: Utility assert_lite
68#  set(CONFIG_USE_utility_assert_lite true)
69
70#  # description: Utility str
71#  set(CONFIG_USE_utility_str true)
72
73#  # description: Utility debug_console
74#  set(CONFIG_USE_utility_debug_console true)
75
76#  # description: Driver fxos8700cq
77#  set(CONFIG_USE_driver_fxos8700cq true)
78
79#  # description: Component lists
80#  set(CONFIG_USE_component_lists true)
81
82#  # description: Component log
83#  set(CONFIG_USE_component_log true)
84
85#  # description: Component log backend debug console
86#  set(CONFIG_USE_component_log_backend_debugconsole true)
87
88#  # description: Component log backend debug console lite
89#  set(CONFIG_USE_component_log_backend_debugconsole_lite true)
90
91#  # description: Component log backend ring buffer
92#  set(CONFIG_USE_component_log_backend_ringbuffer true)
93
94#  # description: Component panic
95#  set(CONFIG_USE_component_panic true)
96
97#  # description: Component reset_adapter
98#  set(CONFIG_USE_component_reset_adapter true)
99
100#  # description: Component serial_manager
101#  set(CONFIG_USE_component_serial_manager true)
102
103#  # description: Component serial_manager_spi
104#  set(CONFIG_USE_component_serial_manager_spi true)
105
106#  # description: Component serial_manager_virtual
107#  set(CONFIG_USE_component_serial_manager_virtual true)
108
109#  # description: Utility shell
110#  set(CONFIG_USE_utility_shell true)
111
112#  # description: Component lpspi_adapter
113#  set(CONFIG_USE_component_lpspi_adapter true)
114
115#  # description: Component lpuart_adapter
116#  set(CONFIG_USE_component_lpuart_adapter true)
117
118#  # description: COMMON Driver
119#  set(CONFIG_USE_driver_common true)
120
121#  # description: ACMP Driver
122#  set(CONFIG_USE_driver_acmp true)
123
124#  # description: ADC12 Driver
125#  set(CONFIG_USE_driver_adc12 true)
126
127#  # description: CRC Driver
128#  set(CONFIG_USE_driver_crc true)
129
130#  # description: DMAMUX Driver
131#  set(CONFIG_USE_driver_dmamux true)
132
133#  # description: EDMA Driver
134#  set(CONFIG_USE_driver_edma true)
135
136#  # description: EWM Driver
137#  set(CONFIG_USE_driver_ewm true)
138
139#  # description: Flash Driver
140#  set(CONFIG_USE_driver_flash true)
141
142#  # description: FLEXIO Driver
143#  set(CONFIG_USE_driver_flexio true)
144
145#  # description: FLEXIO I2C Driver
146#  set(CONFIG_USE_driver_flexio_i2c_master true)
147
148#  # description: FLEXIO SPI Driver
149#  set(CONFIG_USE_driver_flexio_spi true)
150
151#  # description: FLEXIO UART Driver
152#  set(CONFIG_USE_driver_flexio_uart true)
153
154#  # description: FTM Driver
155#  set(CONFIG_USE_driver_ftm true)
156
157#  # description: GPIO Driver
158#  set(CONFIG_USE_driver_gpio true)
159
160#  # description: LPI2C Driver
161#  set(CONFIG_USE_driver_lpi2c true)
162
163#  # description: LPI2C Driver
164#  set(CONFIG_USE_driver_lpi2c_freertos true)
165
166#  # description: LPIT Driver
167#  set(CONFIG_USE_driver_lpit true)
168
169#  # description: LPSPI Driver
170#  set(CONFIG_USE_driver_lpspi true)
171
172#  # description: LPSPI Driver
173#  set(CONFIG_USE_driver_lpspi_freertos true)
174
175#  # description: LPTMR Driver
176#  set(CONFIG_USE_driver_lptmr true)
177
178#  # description: LPUART Driver
179#  set(CONFIG_USE_driver_lpuart true)
180
181#  # description: LPUART Driver
182#  set(CONFIG_USE_driver_lpuart_freertos true)
183
184#  # description: PMC Driver
185#  set(CONFIG_USE_driver_pmc true)
186
187#  # description: PORT Driver
188#  set(CONFIG_USE_driver_port true)
189
190#  # description: PWT Driver
191#  set(CONFIG_USE_driver_pwt true)
192
193#  # description: RCM Driver
194#  set(CONFIG_USE_driver_rcm true)
195
196#  # description: SIM Driver
197#  set(CONFIG_USE_driver_sim true)
198
199#  # description: SMC Driver
200#  set(CONFIG_USE_driver_smc true)
201
202#  # description: TRGMUX Driver
203#  set(CONFIG_USE_driver_trgmux true)
204
205#  # description: TSI Driver
206#  set(CONFIG_USE_driver_tsi_v5 true)
207
208#  # description: WDOG32 Driver
209#  set(CONFIG_USE_driver_wdog32 true)
210
211#set.CMSIS
212#  # description: CMSIS-CORE for Cortex-M, ARMv8-M, ARMv8.1-M
213#  set(CONFIG_USE_CMSIS_Include_core_cm true)
214
215#  # description: Access to #include Driver_USART.h file for custom implementation
216#  set(CONFIG_USE_CMSIS_Driver_Include_USART true)
217
218#  # description: Access to #include Driver_CAN.h file for custom implementation
219#  set(CONFIG_USE_CMSIS_Driver_Include_CAN true)
220
221#  # description: Access to #include Driver_ETH.h file for custom implementation
222#  set(CONFIG_USE_CMSIS_Driver_Include_Ethernet true)
223
224#  # description: Access to #include Driver_ETH_MAC.h file for custom implementation
225#  set(CONFIG_USE_CMSIS_Driver_Include_Ethernet_MAC true)
226
227#  # description: Access to #include Driver_ETH_PHY.h file for custom implementation
228#  set(CONFIG_USE_CMSIS_Driver_Include_Ethernet_PHY true)
229
230#  # description: Access to #include Driver_Flash.h file for custom implementation
231#  set(CONFIG_USE_CMSIS_Driver_Include_Flash true)
232
233#  # description: Access to #include Driver_I2C.h file for custom implementation
234#  set(CONFIG_USE_CMSIS_Driver_Include_I2C true)
235
236#  # description: Access to #include Driver_MCI.h file for custom implementation
237#  set(CONFIG_USE_CMSIS_Driver_Include_MCI true)
238
239#  # description: Access to #include Driver_NAND.h file for custom implementation
240#  set(CONFIG_USE_CMSIS_Driver_Include_NAND true)
241
242#  # description: Access to #include Driver_SAI.h file for custom implementation
243#  set(CONFIG_USE_CMSIS_Driver_Include_SAI true)
244
245#  # description: Access to #include Driver_SPI.h file for custom implementation
246#  set(CONFIG_USE_CMSIS_Driver_Include_SPI true)
247
248#  # description: Access to #include Driver_USBD.h file for custom implementation
249#  set(CONFIG_USE_CMSIS_Driver_Include_USB_Device true)
250
251#  # description: Access to #include Driver_USBH.h file for custom implementation
252#  set(CONFIG_USE_CMSIS_Driver_Include_USB_Host true)
253
254#  # description: Access to #include Driver_WiFi.h file
255#  set(CONFIG_USE_CMSIS_Driver_Include_WiFi true)
256
257#  # description: Device interrupt controller interface
258#  set(CONFIG_USE_CMSIS_Device_API_OSTick true)
259
260#  # description: CMSIS-RTOS API for Cortex-M, SC000, and SC300
261#  set(CONFIG_USE_CMSIS_Device_API_RTOS2 true)
262
263#  # description: CMSIS-RTOS2 RTX5 for Cortex-M, SC000, C300 and Armv8-M (Library)
264#  set(CONFIG_USE_CMSIS_RTOS2_Secure true)
265
266#  # description: CMSIS-RTOS2 RTX5 for Armv8-M Non-Secure Domain (Library)
267#  set(CONFIG_USE_CMSIS_RTOS2_NonSecure true)
268
269#set.CMSIS_DSP_Lib
270#  # description: CMSIS-DSP Library Header
271#  set(CONFIG_USE_CMSIS_DSP_Include true)
272
273#  # description: CMSIS-DSP Library
274#  set(CONFIG_USE_CMSIS_DSP_Source true)
275
276#  # description: CMSIS-NN Library
277#  set(CONFIG_USE_CMSIS_NN_Source true)
278
279#set.middleware.freertos-kernel
280#  # description: FreeRTOS NXP extension
281#  set(CONFIG_USE_middleware_freertos-kernel_extension true)
282
283#  # description: Template configuration file to be edited by user. Provides also memory allocator (heap_x), change variant if needed.
284#  set(CONFIG_USE_middleware_freertos-kernel_template true)
285
286#  # description: FreeRTOS kernel
287#  set(CONFIG_USE_middleware_freertos-kernel true)
288
289#  # description: FreeRTOS heap 1
290#  set(CONFIG_USE_middleware_freertos-kernel_heap_1 true)
291
292#  # description: FreeRTOS heap 2
293#  set(CONFIG_USE_middleware_freertos-kernel_heap_2 true)
294
295#  # description: FreeRTOS heap 3
296#  set(CONFIG_USE_middleware_freertos-kernel_heap_3 true)
297
298#  # description: FreeRTOS heap 4
299#  set(CONFIG_USE_middleware_freertos-kernel_heap_4 true)
300
301#  # description: FreeRTOS heap 5
302#  set(CONFIG_USE_middleware_freertos-kernel_heap_5 true)
303
304#  # description: FreeRTOS MPU wrappers
305#  set(CONFIG_USE_middleware_freertos-kernel_mpu_wrappers true)
306
307#set.component.osa
308#  # description: Component common_task
309#  set(CONFIG_USE_component_common_task true)
310
311#  # description: Component osa_bm
312#  set(CONFIG_USE_component_osa_bm true)
313
314#  # description: Component osa_free_rtos
315#  set(CONFIG_USE_component_osa_free_rtos true)
316
317#  # description: Component osa
318#  set(CONFIG_USE_component_osa true)
319
320#  # description: Component osa interface
321#  set(CONFIG_USE_component_osa_interface true)
322
323list(APPEND CMAKE_MODULE_PATH
324  ${CMAKE_CURRENT_LIST_DIR}/.
325  ${CMAKE_CURRENT_LIST_DIR}/../../components/osa
326  ${CMAKE_CURRENT_LIST_DIR}/../../../rtos/freertos/freertos-kernel
327  ${CMAKE_CURRENT_LIST_DIR}/drivers
328  ${CMAKE_CURRENT_LIST_DIR}/project_template
329  ${CMAKE_CURRENT_LIST_DIR}/template
330  ${CMAKE_CURRENT_LIST_DIR}/../../CMSIS
331  ${CMAKE_CURRENT_LIST_DIR}/../../boards/frdmke17z
332  ${CMAKE_CURRENT_LIST_DIR}/../../devices/MIMXRT1166
333  ${CMAKE_CURRENT_LIST_DIR}/../../devices/MKE15Z7
334)
335
336include(set_board_frdmke17z OPTIONAL)
337include(set_CMSIS_DSP_Lib OPTIONAL)
338include(set_CMSIS OPTIONAL)
339include(set_device_MKE17Z7 OPTIONAL)
340include(set_component_osa OPTIONAL)
341include(set_middleware_freertos-kernel OPTIONAL)
342