1# Copy variable into project config.cmake to use software component
2#set.board.frdmke15z
3#  # description: Board_project_template frdmke15z
4#  set(CONFIG_USE_BOARD_Project_Template_frdmke15z true)
5
6#set.device.MKE15Z7
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: Driver mx25r_flash
14#  set(CONFIG_USE_driver_mx25r_flash true)
15
16#  # description: Driver pf1550
17#  set(CONFIG_USE_driver_pf1550 true)
18
19#  # description: Driver pf3000
20#  set(CONFIG_USE_driver_pf3000 true)
21
22#  # description: Devices_project_template MKE15Z7
23#  set(CONFIG_USE_DEVICES_Project_Template_MKE15Z7 true)
24
25#  # description: Device MKE15Z7_startup
26#  set(CONFIG_USE_device_MKE15Z7_startup true)
27
28#  # description: Device MKE15Z7_cmsis
29#  set(CONFIG_USE_device_MKE15Z7_CMSIS true)
30
31#  # description: Rte_device
32#  set(CONFIG_USE_RTE_Device true)
33
34#  # description: LPI2C Driver
35#  set(CONFIG_USE_driver_lpi2c_edma true)
36
37#  # description: LPSPI Driver
38#  set(CONFIG_USE_driver_lpspi_edma true)
39
40#  # description: LPUART Driver
41#  set(CONFIG_USE_driver_lpuart_edma true)
42
43#  # description: Clock Driver
44#  set(CONFIG_USE_driver_clock true)
45
46#  # description: Component serial_manager_uart
47#  set(CONFIG_USE_component_serial_manager_uart true)
48
49#  # description: Utility debug_console_lite
50#  set(CONFIG_USE_utility_debug_console_lite true)
51
52#  # description: LPSPI CMSIS Driver
53#  set(CONFIG_USE_driver_cmsis_lpspi true)
54
55#  # description: LPI2C CMSIS Driver
56#  set(CONFIG_USE_driver_cmsis_lpi2c true)
57
58#  # description: LPUART CMSIS Driver
59#  set(CONFIG_USE_driver_cmsis_lpuart true)
60
61#  # description: FLEXIO I2S EDMA Driver
62#  set(CONFIG_USE_driver_flexio_i2s_edma true)
63
64#  # description: FLEXIO SPI EDMA Driver
65#  set(CONFIG_USE_driver_flexio_spi_edma true)
66
67#  # description: FLEXIO UART EDMA Driver
68#  set(CONFIG_USE_driver_flexio_uart_edma true)
69
70#  # description: Utility notifier
71#  set(CONFIG_USE_utility_notifier true)
72
73#  # description: Device MKE15Z7_system
74#  set(CONFIG_USE_device_MKE15Z7_system true)
75
76#  # description: Utility assert
77#  set(CONFIG_USE_utility_assert true)
78
79#  # description: Utility assert_lite
80#  set(CONFIG_USE_utility_assert_lite true)
81
82#  # description: Utility str
83#  set(CONFIG_USE_utility_str true)
84
85#  # description: Utility debug_console
86#  set(CONFIG_USE_utility_debug_console true)
87
88#  # description: Component button
89#  set(CONFIG_USE_component_button true)
90
91#  # description: Component crc_adapter
92#  set(CONFIG_USE_component_crc_adapter true)
93
94#  # description: Component software_crc_adapter
95#  set(CONFIG_USE_component_software_crc_adapter true)
96
97#  # description: Component eeprom_internalflash
98#  set(CONFIG_USE_component_eeprom_InternalFlash true)
99
100#  # description: Driver ft5406
101#  set(CONFIG_USE_driver_ft5406 true)
102
103#  # description: Driver ft6x06
104#  set(CONFIG_USE_driver_ft6x06 true)
105
106#  # description: Driver fxos8700cq
107#  set(CONFIG_USE_driver_fxos8700cq true)
108
109#  # description: Component gpio_adapter
110#  set(CONFIG_USE_component_gpio_adapter true)
111
112#  # description: Component lpi2c_adapter
113#  set(CONFIG_USE_component_lpi2c_adapter true)
114
115#  # description: Driver ili9341
116#  set(CONFIG_USE_driver_ili9341 true)
117
118#  # description: Component flash_adapter
119#  set(CONFIG_USE_component_flash_adapter true)
120
121#  # description: Component led
122#  set(CONFIG_USE_component_led true)
123
124#  # description: Component lists
125#  set(CONFIG_USE_component_lists true)
126
127#  # description: Component log
128#  set(CONFIG_USE_component_log true)
129
130#  # description: Component log backend debug console
131#  set(CONFIG_USE_component_log_backend_debugconsole true)
132
133#  # description: Component log backend debug console lite
134#  set(CONFIG_USE_component_log_backend_debugconsole_lite true)
135
136#  # description: Component log backend ring buffer
137#  set(CONFIG_USE_component_log_backend_ringbuffer true)
138
139#  # description: Component mem_manager
140#  set(CONFIG_USE_component_mem_manager true)
141
142#  # description: Component mem_manager_light
143#  set(CONFIG_USE_component_mem_manager_light true)
144
145#  # description: Component mem_manager_freertos
146#  set(CONFIG_USE_component_mem_manager_freertos true)
147
148#  # description: Driver mma8451q
149#  set(CONFIG_USE_driver_mma8451q true)
150
151#  # description: Component panic
152#  set(CONFIG_USE_component_panic true)
153
154#  # description: Component pwm_ftm_adapter
155#  set(CONFIG_USE_component_pwm_ftm_adapter true)
156
157#  # description: Component reset_adapter
158#  set(CONFIG_USE_component_reset_adapter true)
159
160#  # description: Component software_rng_adapter
161#  set(CONFIG_USE_component_software_rng_adapter true)
162
163#  # description: Component rtc
164#  set(CONFIG_USE_component_rtc true)
165
166#  # description: Component serial_manager
167#  set(CONFIG_USE_component_serial_manager true)
168
169#  # description: Component serial_manager_spi
170#  set(CONFIG_USE_component_serial_manager_spi true)
171
172#  # description: Component serial_manager_virtual
173#  set(CONFIG_USE_component_serial_manager_virtual true)
174
175#  # description: Utility shell
176#  set(CONFIG_USE_utility_shell true)
177
178#  # description: Component lpspi_adapter
179#  set(CONFIG_USE_component_lpspi_adapter true)
180
181#  # description: Component ftm_adapter
182#  set(CONFIG_USE_component_ftm_adapter true)
183
184#  # description: Component lpit_adapter
185#  set(CONFIG_USE_component_lpit_adapter true)
186
187#  # description: Component lptmr_adapter
188#  set(CONFIG_USE_component_lptmr_adapter true)
189
190#  # description: Component timer_manager
191#  set(CONFIG_USE_component_timer_manager true)
192
193#  # description: Component lpuart_adapter
194#  set(CONFIG_USE_component_lpuart_adapter true)
195
196#  # description: Component lpuart_dma_adapter
197#  set(CONFIG_USE_component_lpuart_dma_adapter true)
198
199#  # description: COMMON Driver
200#  set(CONFIG_USE_driver_common true)
201
202#  # description: ACMP Driver
203#  set(CONFIG_USE_driver_acmp true)
204
205#  # description: ADC12 Driver
206#  set(CONFIG_USE_driver_adc12 true)
207
208#  # description: CRC Driver
209#  set(CONFIG_USE_driver_crc true)
210
211#  # description: DMAMUX Driver
212#  set(CONFIG_USE_driver_dmamux true)
213
214#  # description: EDMA Driver
215#  set(CONFIG_USE_driver_edma true)
216
217#  # description: EWM Driver
218#  set(CONFIG_USE_driver_ewm true)
219
220#  # description: Flash Driver
221#  set(CONFIG_USE_driver_flash true)
222
223#  # description: FLEXIO Driver
224#  set(CONFIG_USE_driver_flexio true)
225
226#  # description: FLEXIO I2C Driver
227#  set(CONFIG_USE_driver_flexio_i2c_master true)
228
229#  # description: FLEXIO I2S Driver
230#  set(CONFIG_USE_driver_flexio_i2s true)
231
232#  # description: FLEXIO SPI Driver
233#  set(CONFIG_USE_driver_flexio_spi true)
234
235#  # description: FLEXIO UART Driver
236#  set(CONFIG_USE_driver_flexio_uart true)
237
238#  # description: FTM Driver
239#  set(CONFIG_USE_driver_ftm true)
240
241#  # description: GPIO Driver
242#  set(CONFIG_USE_driver_gpio true)
243
244#  # description: LPI2C Driver
245#  set(CONFIG_USE_driver_lpi2c true)
246
247#  # description: LPI2C FreeRTOS Driver
248#  set(CONFIG_USE_driver_lpi2c_freertos true)
249
250#  # description: LPIT Driver
251#  set(CONFIG_USE_driver_lpit true)
252
253#  # description: LPSPI Driver
254#  set(CONFIG_USE_driver_lpspi true)
255
256#  # description: LPSPI FreeRTOS Driver
257#  set(CONFIG_USE_driver_lpspi_freertos true)
258
259#  # description: LPTMR Driver
260#  set(CONFIG_USE_driver_lptmr true)
261
262#  # description: LPUART Driver
263#  set(CONFIG_USE_driver_lpuart true)
264
265#  # description: LPUART Freertos Driver
266#  set(CONFIG_USE_driver_lpuart_freertos true)
267
268#  # description: MMDVSQ Driver
269#  set(CONFIG_USE_driver_mmdvsq true)
270
271#  # description: PDB Driver
272#  set(CONFIG_USE_driver_pdb true)
273
274#  # description: PMC Driver
275#  set(CONFIG_USE_driver_pmc true)
276
277#  # description: PORT Driver
278#  set(CONFIG_USE_driver_port true)
279
280#  # description: PWT Driver
281#  set(CONFIG_USE_driver_pwt true)
282
283#  # description: RCM Driver
284#  set(CONFIG_USE_driver_rcm true)
285
286#  # description: RTC Driver
287#  set(CONFIG_USE_driver_rtc true)
288
289#  # description: SIM Driver
290#  set(CONFIG_USE_driver_sim true)
291
292#  # description: SMC Driver
293#  set(CONFIG_USE_driver_smc true)
294
295#  # description: TRGMUX Driver
296#  set(CONFIG_USE_driver_trgmux true)
297
298#  # description: TSI Driver
299#  set(CONFIG_USE_driver_tsi_v5 true)
300
301#  # description: WDOG32 Driver
302#  set(CONFIG_USE_driver_wdog32 true)
303
304#set.CMSIS
305#  # description: CMSIS-CORE for Cortex-M, ARMv8-M, ARMv8.1-M
306#  set(CONFIG_USE_CMSIS_Include_core_cm true)
307
308#  # description: Access to #include Driver_USART.h file for custom implementation
309#  set(CONFIG_USE_CMSIS_Driver_Include_USART true)
310
311#  # description: Access to #include Driver_CAN.h file for custom implementation
312#  set(CONFIG_USE_CMSIS_Driver_Include_CAN true)
313
314#  # description: Access to #include Driver_ETH.h file for custom implementation
315#  set(CONFIG_USE_CMSIS_Driver_Include_Ethernet true)
316
317#  # description: Access to #include Driver_ETH_MAC.h file for custom implementation
318#  set(CONFIG_USE_CMSIS_Driver_Include_Ethernet_MAC true)
319
320#  # description: Access to #include Driver_ETH_PHY.h file for custom implementation
321#  set(CONFIG_USE_CMSIS_Driver_Include_Ethernet_PHY true)
322
323#  # description: Access to #include Driver_Flash.h file for custom implementation
324#  set(CONFIG_USE_CMSIS_Driver_Include_Flash true)
325
326#  # description: Access to #include Driver_I2C.h file for custom implementation
327#  set(CONFIG_USE_CMSIS_Driver_Include_I2C true)
328
329#  # description: Access to #include Driver_MCI.h file for custom implementation
330#  set(CONFIG_USE_CMSIS_Driver_Include_MCI true)
331
332#  # description: Access to #include Driver_NAND.h file for custom implementation
333#  set(CONFIG_USE_CMSIS_Driver_Include_NAND true)
334
335#  # description: Access to #include Driver_SAI.h file for custom implementation
336#  set(CONFIG_USE_CMSIS_Driver_Include_SAI true)
337
338#  # description: Access to #include Driver_SPI.h file for custom implementation
339#  set(CONFIG_USE_CMSIS_Driver_Include_SPI true)
340
341#  # description: Access to #include Driver_USBD.h file for custom implementation
342#  set(CONFIG_USE_CMSIS_Driver_Include_USB_Device true)
343
344#  # description: Access to #include Driver_USBH.h file for custom implementation
345#  set(CONFIG_USE_CMSIS_Driver_Include_USB_Host true)
346
347#  # description: Access to #include Driver_WiFi.h file
348#  set(CONFIG_USE_CMSIS_Driver_Include_WiFi true)
349
350#  # description: Device interrupt controller interface
351#  set(CONFIG_USE_CMSIS_Device_API_OSTick true)
352
353#  # description: CMSIS-RTOS API for Cortex-M, SC000, and SC300
354#  set(CONFIG_USE_CMSIS_Device_API_RTOS2 true)
355
356#  # description: CMSIS-RTOS2 RTX5 for Cortex-M, SC000, C300 and Armv8-M (Library)
357#  set(CONFIG_USE_CMSIS_RTOS2_Secure true)
358
359#  # description: CMSIS-RTOS2 RTX5 for Armv8-M Non-Secure Domain (Library)
360#  set(CONFIG_USE_CMSIS_RTOS2_NonSecure true)
361
362#set.CMSIS_DSP_Lib
363#  # description: CMSIS-DSP Library Header
364#  set(CONFIG_USE_CMSIS_DSP_Include true)
365
366#  # description: CMSIS-DSP Library
367#  set(CONFIG_USE_CMSIS_DSP_Source true)
368
369#  # description: CMSIS-NN Library
370#  set(CONFIG_USE_CMSIS_NN_Source true)
371
372#set.middleware.freertos-kernel
373#  # description: FreeRTOS NXP extension
374#  set(CONFIG_USE_middleware_freertos-kernel_extension true)
375
376#  # description: Template configuration file to be edited by user. Provides also memory allocator (heap_x), change variant if needed.
377#  set(CONFIG_USE_middleware_freertos-kernel_template true)
378
379#  # description: FreeRTOS kernel
380#  set(CONFIG_USE_middleware_freertos-kernel true)
381
382#  # description: FreeRTOS heap 1
383#  set(CONFIG_USE_middleware_freertos-kernel_heap_1 true)
384
385#  # description: FreeRTOS heap 2
386#  set(CONFIG_USE_middleware_freertos-kernel_heap_2 true)
387
388#  # description: FreeRTOS heap 3
389#  set(CONFIG_USE_middleware_freertos-kernel_heap_3 true)
390
391#  # description: FreeRTOS heap 4
392#  set(CONFIG_USE_middleware_freertos-kernel_heap_4 true)
393
394#  # description: FreeRTOS heap 5
395#  set(CONFIG_USE_middleware_freertos-kernel_heap_5 true)
396
397#  # description: new V2 FreeRTOS MPU wrappers introduced in V10.6.0
398#  set(CONFIG_USE_middleware_freertos-kernel_mpu_wrappers_v2 true)
399
400#  # description: old FreeRTOS MPU wrappers used before V10.6.0
401#  set(CONFIG_USE_middleware_freertos-kernel_mpu_wrappers true)
402
403#set.middleware.sdmmc
404#  # description: Middleware sdmmc common
405#  set(CONFIG_USE_middleware_sdmmc_common true)
406
407#  # description: Template configuration file to be edited by user.
408#  set(CONFIG_USE_middleware_sdmmc_sdhc_template true)
409
410#  # description: Template configuration file to be edited by user.
411#  set(CONFIG_USE_middleware_sdmmc_sdif_template true)
412
413#  # description: Template configuration file to be edited by user.
414#  set(CONFIG_USE_middleware_sdmmc_usdhc_template true)
415
416#  # description: SDMMC host controller cache dependency
417#  set(CONFIG_USE_middleware_sdmmc_host_usdhc_cache true)
418
419#set.component.osa
420#  # description: Component osa_zephyr
421#  set(CONFIG_USE_component_osa_zephyr true)
422
423#  # description: Component common_task
424#  set(CONFIG_USE_component_common_task true)
425
426#  # description: Component osa_bm
427#  set(CONFIG_USE_component_osa_bm true)
428
429#  # description: Component osa_free_rtos
430#  set(CONFIG_USE_component_osa_free_rtos true)
431
432#  # description: Component osa
433#  set(CONFIG_USE_component_osa true)
434
435#  # description: Component osa interface
436#  set(CONFIG_USE_component_osa_interface true)
437
438#set.middleware.fatfs
439#  # description: FatFs
440#  set(CONFIG_USE_middleware_fatfs true)
441
442#  # description: FatFs_RAM
443#  set(CONFIG_USE_middleware_fatfs_ram true)
444
445#  # description: FatFs template RAM
446#  set(CONFIG_USE_middleware_fatfs_template_ram true)
447
448list(APPEND CMAKE_MODULE_PATH
449  ${CMAKE_CURRENT_LIST_DIR}/.
450  ${CMAKE_CURRENT_LIST_DIR}/../../components/osa
451  ${CMAKE_CURRENT_LIST_DIR}/../../../middleware/fatfs
452  ${CMAKE_CURRENT_LIST_DIR}/../../../middleware/sdmmc
453  ${CMAKE_CURRENT_LIST_DIR}/../../../rtos/freertos/freertos-kernel
454  ${CMAKE_CURRENT_LIST_DIR}/drivers
455  ${CMAKE_CURRENT_LIST_DIR}/project_template
456  ${CMAKE_CURRENT_LIST_DIR}/template
457  ${CMAKE_CURRENT_LIST_DIR}/../../CMSIS
458  ${CMAKE_CURRENT_LIST_DIR}/../../boards/frdmke15z
459)
460
461include(set_board_frdmke15z OPTIONAL)
462include(set_CMSIS_DSP_Lib OPTIONAL)
463include(set_CMSIS OPTIONAL)
464include(set_device_MKE15Z7 OPTIONAL)
465include(set_component_osa OPTIONAL)
466include(set_middleware_fatfs OPTIONAL)
467include(set_middleware_freertos-kernel OPTIONAL)
468include(set_middleware_sdmmc OPTIONAL)
469