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