1# Copy variable into project config.cmake to use software component
2#set.board.twrkm34z75m
3#  # description: Board_project_template twrkm34z75m
4#  set(CONFIG_USE_BOARD_Project_Template_twrkm34z75m true)
5
6#set.device.MKM34Z7
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 MKM34Z7
14#  set(CONFIG_USE_DEVICES_Project_Template_MKM34Z7 true)
15
16#  # description: Device MKM34Z7_cmsis
17#  set(CONFIG_USE_device_MKM34Z7_CMSIS true)
18
19#  # description: Rte_device
20#  set(CONFIG_USE_RTE_Device true)
21
22#  # description: Clock Driver
23#  set(CONFIG_USE_driver_clock true)
24
25#  # description: Component serial_manager_uart
26#  set(CONFIG_USE_component_serial_manager_uart true)
27
28#  # description: Utility debug_console_lite
29#  set(CONFIG_USE_utility_debug_console_lite true)
30
31#  # description: SPI CMSIS Driver
32#  set(CONFIG_USE_driver_cmsis_spi true)
33
34#  # description: I2C CMSIS Driver
35#  set(CONFIG_USE_driver_cmsis_i2c true)
36
37#  # description: UART CMSIS Driver
38#  set(CONFIG_USE_driver_cmsis_uart true)
39
40#  # description: I2C Driver
41#  set(CONFIG_USE_driver_i2c_dma true)
42
43#  # description: LPUART Driver
44#  set(CONFIG_USE_driver_lpuart_dma true)
45
46#  # description: SPI Driver
47#  set(CONFIG_USE_driver_spi_dma true)
48
49#  # description: UART Driver
50#  set(CONFIG_USE_driver_uart_dma true)
51
52#  # description: Utility notifier
53#  set(CONFIG_USE_utility_notifier true)
54
55#  # description: Device MKM34Z7_system
56#  set(CONFIG_USE_device_MKM34Z7_system true)
57
58#  # description: Device MKM34Z7_startup
59#  set(CONFIG_USE_device_MKM34Z7_startup true)
60
61#  # description: Utility assert
62#  set(CONFIG_USE_utility_assert true)
63
64#  # description: Utility assert_lite
65#  set(CONFIG_USE_utility_assert_lite true)
66
67#  # description: Utility str
68#  set(CONFIG_USE_utility_str true)
69
70#  # description: Utility debug_console
71#  set(CONFIG_USE_utility_debug_console true)
72
73#  # description: Component flash_adapter
74#  set(CONFIG_USE_component_flash_adapter true)
75
76#  # description: Component lists
77#  set(CONFIG_USE_component_lists true)
78
79#  # description: Component log
80#  set(CONFIG_USE_component_log true)
81
82#  # description: Component log backend debug console
83#  set(CONFIG_USE_component_log_backend_debugconsole true)
84
85#  # description: Component log backend debug console lite
86#  set(CONFIG_USE_component_log_backend_debugconsole_lite true)
87
88#  # description: Component log backend ring buffer
89#  set(CONFIG_USE_component_log_backend_ringbuffer true)
90
91#  # description: Component serial_manager
92#  set(CONFIG_USE_component_serial_manager true)
93
94#  # description: Component serial_manager_virtual
95#  set(CONFIG_USE_component_serial_manager_virtual true)
96
97#  # description: Utility shell
98#  set(CONFIG_USE_utility_shell true)
99
100#  # description: Driver slcd_engine
101#  set(CONFIG_USE_driver_slcd_engine true)
102
103#  # description: Driver slcd_gdh_1247wp
104#  set(CONFIG_USE_driver_slcd_gdh_1247wp true)
105
106#  # description: Component lptmr_adapter
107#  set(CONFIG_USE_component_lptmr_adapter true)
108
109#  # description: Component pit_adapter
110#  set(CONFIG_USE_component_pit_adapter true)
111
112#  # description: Component lpuart_adapter
113#  set(CONFIG_USE_component_lpuart_adapter true)
114
115#  # description: Component uart_adapter
116#  set(CONFIG_USE_component_uart_adapter true)
117
118#  # description: COMMON Driver
119#  set(CONFIG_USE_driver_common true)
120
121#  # description: ADC16 Driver
122#  set(CONFIG_USE_driver_adc16 true)
123
124#  # description: AFE Driver
125#  set(CONFIG_USE_driver_afe true)
126
127#  # description: CMP Driver
128#  set(CONFIG_USE_driver_cmp true)
129
130#  # description: CRC Driver
131#  set(CONFIG_USE_driver_crc true)
132
133#  # description: DMA Driver
134#  set(CONFIG_USE_driver_dma true)
135
136#  # description: DMAMUX Driver
137#  set(CONFIG_USE_driver_dmamux true)
138
139#  # description: EWM Driver
140#  set(CONFIG_USE_driver_ewm true)
141
142#  # description: Flash Driver
143#  set(CONFIG_USE_driver_flash true)
144
145#  # description: GPIO Driver
146#  set(CONFIG_USE_driver_gpio true)
147
148#  # description: I2C Driver
149#  set(CONFIG_USE_driver_i2c true)
150
151#  # description: I2C Driver
152#  set(CONFIG_USE_driver_i2c_freertos true)
153
154#  # description: IRTC Driver
155#  set(CONFIG_USE_driver_irtc true)
156
157#  # description: LLWU Driver
158#  set(CONFIG_USE_driver_llwu true)
159
160#  # description: LPTMR Driver
161#  set(CONFIG_USE_driver_lptmr true)
162
163#  # description: LPUART Driver
164#  set(CONFIG_USE_driver_lpuart true)
165
166#  # description: LPUART Driver
167#  set(CONFIG_USE_driver_lpuart_freertos true)
168
169#  # description: MMAU Driver
170#  set(CONFIG_USE_driver_mmau true)
171
172#  # description: PDB Driver
173#  set(CONFIG_USE_driver_pdb true)
174
175#  # description: PIT Driver
176#  set(CONFIG_USE_driver_pit true)
177
178#  # description: PMC Driver
179#  set(CONFIG_USE_driver_pmc true)
180
181#  # description: PORT Driver
182#  set(CONFIG_USE_driver_port true)
183
184#  # description: QTMR Driver
185#  set(CONFIG_USE_driver_qtmr_2 true)
186
187#  # description: RCM Driver
188#  set(CONFIG_USE_driver_rcm true)
189
190#  # description: RNGA Driver
191#  set(CONFIG_USE_driver_rnga true)
192
193#  # description: SIM Driver
194#  set(CONFIG_USE_driver_sim true)
195
196#  # description: SLCD Driver
197#  set(CONFIG_USE_driver_slcd true)
198
199#  # description: SMC Driver
200#  set(CONFIG_USE_driver_smc true)
201
202#  # description: SPI Driver
203#  set(CONFIG_USE_driver_spi true)
204
205#  # description: SPI Driver
206#  set(CONFIG_USE_driver_spi_freertos true)
207
208#  # description: SYSMPU Driver
209#  set(CONFIG_USE_driver_sysmpu true)
210
211#  # description: UART Driver
212#  set(CONFIG_USE_driver_uart true)
213
214#  # description: UART Driver
215#  set(CONFIG_USE_driver_uart_freertos true)
216
217#  # description: VREF Driver
218#  set(CONFIG_USE_driver_vref true)
219
220#  # description: WDOG Driver
221#  set(CONFIG_USE_driver_wdog true)
222
223#  # description: XBAR Driver
224#  set(CONFIG_USE_driver_xbar true)
225
226#set.CMSIS
227#  # description: CMSIS-CORE for Cortex-M, ARMv8-M, ARMv8.1-M
228#  set(CONFIG_USE_CMSIS_Include_core_cm true)
229
230#  # description: Access to #include Driver_USART.h file for custom implementation
231#  set(CONFIG_USE_CMSIS_Driver_Include_USART true)
232
233#  # description: Access to #include Driver_CAN.h file for custom implementation
234#  set(CONFIG_USE_CMSIS_Driver_Include_CAN true)
235
236#  # description: Access to #include Driver_ETH.h file for custom implementation
237#  set(CONFIG_USE_CMSIS_Driver_Include_Ethernet true)
238
239#  # description: Access to #include Driver_ETH_MAC.h file for custom implementation
240#  set(CONFIG_USE_CMSIS_Driver_Include_Ethernet_MAC true)
241
242#  # description: Access to #include Driver_ETH_PHY.h file for custom implementation
243#  set(CONFIG_USE_CMSIS_Driver_Include_Ethernet_PHY true)
244
245#  # description: Access to #include Driver_Flash.h file for custom implementation
246#  set(CONFIG_USE_CMSIS_Driver_Include_Flash true)
247
248#  # description: Access to #include Driver_I2C.h file for custom implementation
249#  set(CONFIG_USE_CMSIS_Driver_Include_I2C true)
250
251#  # description: Access to #include Driver_MCI.h file for custom implementation
252#  set(CONFIG_USE_CMSIS_Driver_Include_MCI true)
253
254#  # description: Access to #include Driver_NAND.h file for custom implementation
255#  set(CONFIG_USE_CMSIS_Driver_Include_NAND true)
256
257#  # description: Access to #include Driver_SAI.h file for custom implementation
258#  set(CONFIG_USE_CMSIS_Driver_Include_SAI true)
259
260#  # description: Access to #include Driver_SPI.h file for custom implementation
261#  set(CONFIG_USE_CMSIS_Driver_Include_SPI true)
262
263#  # description: Access to #include Driver_USBD.h file for custom implementation
264#  set(CONFIG_USE_CMSIS_Driver_Include_USB_Device true)
265
266#  # description: Access to #include Driver_USBH.h file for custom implementation
267#  set(CONFIG_USE_CMSIS_Driver_Include_USB_Host true)
268
269#  # description: Access to #include Driver_WiFi.h file
270#  set(CONFIG_USE_CMSIS_Driver_Include_WiFi true)
271
272#  # description: Device interrupt controller interface
273#  set(CONFIG_USE_CMSIS_Device_API_OSTick true)
274
275#  # description: CMSIS-RTOS API for Cortex-M, SC000, and SC300
276#  set(CONFIG_USE_CMSIS_Device_API_RTOS2 true)
277
278#  # description: CMSIS-RTOS2 RTX5 for Cortex-M, SC000, C300 and Armv8-M (Library)
279#  set(CONFIG_USE_CMSIS_RTOS2_Secure true)
280
281#  # description: CMSIS-RTOS2 RTX5 for Armv8-M Non-Secure Domain (Library)
282#  set(CONFIG_USE_CMSIS_RTOS2_NonSecure true)
283
284#set.CMSIS_DSP_Lib
285#  # description: CMSIS-DSP Library Header
286#  set(CONFIG_USE_CMSIS_DSP_Include true)
287
288#  # description: CMSIS-DSP Library
289#  set(CONFIG_USE_CMSIS_DSP_Source true)
290
291#  # description: CMSIS-NN Library
292#  set(CONFIG_USE_CMSIS_NN_Source true)
293
294#set.middleware.freertos-kernel
295#  # description: FreeRTOS NXP extension
296#  set(CONFIG_USE_middleware_freertos-kernel_extension true)
297
298#  # description: Template configuration file to be edited by user. Provides also memory allocator (heap_x), change variant if needed.
299#  set(CONFIG_USE_middleware_freertos-kernel_template true)
300
301#  # description: FreeRTOS kernel
302#  set(CONFIG_USE_middleware_freertos-kernel true)
303
304#  # description: FreeRTOS heap 1
305#  set(CONFIG_USE_middleware_freertos-kernel_heap_1 true)
306
307#  # description: FreeRTOS heap 2
308#  set(CONFIG_USE_middleware_freertos-kernel_heap_2 true)
309
310#  # description: FreeRTOS heap 3
311#  set(CONFIG_USE_middleware_freertos-kernel_heap_3 true)
312
313#  # description: FreeRTOS heap 4
314#  set(CONFIG_USE_middleware_freertos-kernel_heap_4 true)
315
316#  # description: FreeRTOS heap 5
317#  set(CONFIG_USE_middleware_freertos-kernel_heap_5 true)
318
319#  # description: FreeRTOS MPU wrappers
320#  set(CONFIG_USE_middleware_freertos-kernel_mpu_wrappers true)
321
322#set.middleware.mmcau
323#  # description: MMCAU security function library source files
324#  set(CONFIG_USE_middleware_mmcau_mmcau_files true)
325
326#  # description: MMCAU library for ARM Cortex M0+ core
327#  set(CONFIG_USE_middleware_mmcau_cm0p true)
328
329#  # description: MMCAU common library source files
330#  set(CONFIG_USE_middleware_mmcau_common_files true)
331
332list(APPEND CMAKE_MODULE_PATH
333  ${CMAKE_CURRENT_LIST_DIR}/.
334  ${CMAKE_CURRENT_LIST_DIR}/../../middleware/mmcau
335  ${CMAKE_CURRENT_LIST_DIR}/../../../rtos/freertos/freertos-kernel
336  ${CMAKE_CURRENT_LIST_DIR}/drivers
337  ${CMAKE_CURRENT_LIST_DIR}/project_template
338  ${CMAKE_CURRENT_LIST_DIR}/template
339  ${CMAKE_CURRENT_LIST_DIR}/../../CMSIS
340  ${CMAKE_CURRENT_LIST_DIR}/../../boards/twrkm34z75m
341  ${CMAKE_CURRENT_LIST_DIR}/../../devices/K32L2B31A
342  ${CMAKE_CURRENT_LIST_DIR}/../../devices/MIMXRT1052
343  ${CMAKE_CURRENT_LIST_DIR}/../../devices/MIMXRT1166
344  ${CMAKE_CURRENT_LIST_DIR}/../../devices/MKM34ZA5
345  ${CMAKE_CURRENT_LIST_DIR}/../../devices/MKE15Z7
346  ${CMAKE_CURRENT_LIST_DIR}/../../devices/MKM35Z7
347  ${CMAKE_CURRENT_LIST_DIR}/../../devices/MK22F51212
348)
349
350include(set_board_twrkm34z75m OPTIONAL)
351include(set_CMSIS_DSP_Lib OPTIONAL)
352include(set_CMSIS OPTIONAL)
353include(set_device_MKM34Z7 OPTIONAL)
354include(set_middleware_freertos-kernel OPTIONAL)
355include(set_middleware_mmcau OPTIONAL)
356