1include_guard(GLOBAL)
2
3
4if (CONFIG_USE_middleware_baremetal)
5# Add set(CONFIG_USE_middleware_baremetal true) in config.cmake to use this component
6
7message("middleware_baremetal component is included from ${CMAKE_CURRENT_LIST_FILE}.")
8
9if(CONFIG_USE_COMPONENT_CONFIGURATION)
10  message("===>Import configuration from ${CMAKE_CURRENT_LIST_FILE}")
11
12  target_compile_definitions(${MCUX_SDK_PROJECT_NAME} PUBLIC
13    -DSDK_OS_BAREMETAL
14  )
15
16endif()
17
18
19endif()
20
21
22if (CONFIG_USE_utilities_misc_utilities)
23# Add set(CONFIG_USE_utilities_misc_utilities true) in config.cmake to use this component
24
25message("utilities_misc_utilities component is included from ${CMAKE_CURRENT_LIST_FILE}.")
26
27if(CONFIG_TOOLCHAIN STREQUAL armgcc)
28  target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
29      ${CMAKE_CURRENT_LIST_DIR}/../../utilities/misc_utilities/fsl_sbrk.c
30      ${CMAKE_CURRENT_LIST_DIR}/../../utilities/misc_utilities/fsl_syscall_stub.c
31  )
32endif()
33
34
35endif()
36
37
38if (CONFIG_USE_DEVICES_Project_Template_MKE17Z7)
39# Add set(CONFIG_USE_DEVICES_Project_Template_MKE17Z7 true) in config.cmake to use this component
40
41message("DEVICES_Project_Template_MKE17Z7 component is included from ${CMAKE_CURRENT_LIST_FILE}.")
42
43if(CONFIG_USE_component_lpuart_adapter AND (CONFIG_DEVICE_ID STREQUAL MKE17Z256xxx7 OR CONFIG_DEVICE_ID STREQUAL MKE17Z128xxx7) AND CONFIG_USE_device_MKE17Z7_startup AND CONFIG_USE_driver_adc12 AND CONFIG_USE_driver_clock AND CONFIG_USE_driver_common AND CONFIG_USE_driver_gpio AND CONFIG_USE_driver_lpi2c AND CONFIG_USE_driver_lpuart AND CONFIG_USE_driver_port AND CONFIG_USE_driver_smc AND ((CONFIG_USE_component_serial_manager AND CONFIG_USE_utility_assert AND CONFIG_USE_utility_debug_console) OR (CONFIG_USE_utility_assert_lite AND CONFIG_USE_utility_debug_console_lite)))
44
45add_config_file(${CMAKE_CURRENT_LIST_DIR}/project_template/board.h "" DEVICES_Project_Template_MKE17Z7.MKE17Z7)
46add_config_file(${CMAKE_CURRENT_LIST_DIR}/project_template/board.c "" DEVICES_Project_Template_MKE17Z7.MKE17Z7)
47add_config_file(${CMAKE_CURRENT_LIST_DIR}/project_template/clock_config.h "" DEVICES_Project_Template_MKE17Z7.MKE17Z7)
48add_config_file(${CMAKE_CURRENT_LIST_DIR}/project_template/clock_config.c "" DEVICES_Project_Template_MKE17Z7.MKE17Z7)
49add_config_file(${CMAKE_CURRENT_LIST_DIR}/project_template/pin_mux.h "" DEVICES_Project_Template_MKE17Z7.MKE17Z7)
50add_config_file(${CMAKE_CURRENT_LIST_DIR}/project_template/pin_mux.c "" DEVICES_Project_Template_MKE17Z7.MKE17Z7)
51add_config_file(${CMAKE_CURRENT_LIST_DIR}/project_template/peripherals.h "" DEVICES_Project_Template_MKE17Z7.MKE17Z7)
52add_config_file(${CMAKE_CURRENT_LIST_DIR}/project_template/peripherals.c "" DEVICES_Project_Template_MKE17Z7.MKE17Z7)
53
54target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
55  ${CMAKE_CURRENT_LIST_DIR}/project_template/.
56)
57
58else()
59
60message(SEND_ERROR "DEVICES_Project_Template_MKE17Z7.MKE17Z7 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
61
62endif()
63
64endif()
65
66
67if (CONFIG_USE_device_MKE17Z7_startup)
68# Add set(CONFIG_USE_device_MKE17Z7_startup true) in config.cmake to use this component
69
70message("device_MKE17Z7_startup component is included from ${CMAKE_CURRENT_LIST_FILE}.")
71
72if(CONFIG_USE_device_MKE17Z7_system)
73
74if(CONFIG_TOOLCHAIN STREQUAL armgcc)
75  add_config_file(${CMAKE_CURRENT_LIST_DIR}/./gcc/startup_MKE17Z7.S "" device_MKE17Z7_startup.MKE17Z7)
76endif()
77
78if(CONFIG_TOOLCHAIN STREQUAL mcux)
79  add_config_file(${CMAKE_CURRENT_LIST_DIR}/./mcuxpresso/startup_mke17z7.c "" device_MKE17Z7_startup.MKE17Z7)
80  add_config_file(${CMAKE_CURRENT_LIST_DIR}/./mcuxpresso/startup_mke17z7.cpp "" device_MKE17Z7_startup.MKE17Z7)
81endif()
82
83else()
84
85message(SEND_ERROR "device_MKE17Z7_startup.MKE17Z7 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
86
87endif()
88
89endif()
90
91
92if (CONFIG_USE_device_MKE17Z7_CMSIS)
93# Add set(CONFIG_USE_device_MKE17Z7_CMSIS true) in config.cmake to use this component
94
95message("device_MKE17Z7_CMSIS component is included from ${CMAKE_CURRENT_LIST_FILE}.")
96
97if(CONFIG_USE_CMSIS_Include_core_cm AND (CONFIG_DEVICE_ID STREQUAL MKE17Z256xxx7 OR CONFIG_DEVICE_ID STREQUAL MKE17Z128xxx7))
98
99target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
100  ${CMAKE_CURRENT_LIST_DIR}/./.
101)
102
103else()
104
105message(SEND_ERROR "device_MKE17Z7_CMSIS.MKE17Z7 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
106
107endif()
108
109endif()
110
111
112if (CONFIG_USE_RTE_Device)
113# Add set(CONFIG_USE_RTE_Device true) in config.cmake to use this component
114
115message("RTE_Device component is included from ${CMAKE_CURRENT_LIST_FILE}.")
116
117if((CONFIG_DEVICE_ID STREQUAL MKE17Z256xxx7 OR CONFIG_DEVICE_ID STREQUAL MKE17Z128xxx7) AND CONFIG_USE_driver_dmamux AND CONFIG_USE_driver_edma)
118
119add_config_file(${CMAKE_CURRENT_LIST_DIR}/template/RTE_Device.h "" RTE_Device.MKE17Z7)
120
121target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
122  ${CMAKE_CURRENT_LIST_DIR}/template/.
123)
124
125else()
126
127message(SEND_ERROR "RTE_Device.MKE17Z7 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
128
129endif()
130
131endif()
132
133
134if (CONFIG_USE_driver_lpi2c_edma)
135# Add set(CONFIG_USE_driver_lpi2c_edma true) in config.cmake to use this component
136
137message("driver_lpi2c_edma component is included from ${CMAKE_CURRENT_LIST_FILE}.")
138
139if(CONFIG_USE_driver_edma AND CONFIG_USE_driver_lpi2c AND (CONFIG_DEVICE_ID STREQUAL MKE17Z256xxx7 OR CONFIG_DEVICE_ID STREQUAL MKE17Z128xxx7))
140
141target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
142  ${CMAKE_CURRENT_LIST_DIR}/../../drivers/lpi2c/fsl_lpi2c_edma.c
143)
144
145target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
146  ${CMAKE_CURRENT_LIST_DIR}/../../drivers/lpi2c/.
147)
148
149else()
150
151message(SEND_ERROR "driver_lpi2c_edma.MKE17Z7 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
152
153endif()
154
155endif()
156
157
158if (CONFIG_USE_driver_lpspi_edma)
159# Add set(CONFIG_USE_driver_lpspi_edma true) in config.cmake to use this component
160
161message("driver_lpspi_edma component is included from ${CMAKE_CURRENT_LIST_FILE}.")
162
163if(CONFIG_USE_driver_edma AND CONFIG_USE_driver_lpspi AND (CONFIG_DEVICE_ID STREQUAL MKE17Z256xxx7 OR CONFIG_DEVICE_ID STREQUAL MKE17Z128xxx7))
164
165target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
166  ${CMAKE_CURRENT_LIST_DIR}/../../drivers/lpspi/fsl_lpspi_edma.c
167)
168
169target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
170  ${CMAKE_CURRENT_LIST_DIR}/../../drivers/lpspi/.
171)
172
173else()
174
175message(SEND_ERROR "driver_lpspi_edma.MKE17Z7 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
176
177endif()
178
179endif()
180
181
182if (CONFIG_USE_driver_lpuart_edma)
183# Add set(CONFIG_USE_driver_lpuart_edma true) in config.cmake to use this component
184
185message("driver_lpuart_edma component is included from ${CMAKE_CURRENT_LIST_FILE}.")
186
187if(CONFIG_USE_driver_edma AND CONFIG_USE_driver_lpuart AND (CONFIG_DEVICE_ID STREQUAL MKE17Z256xxx7 OR CONFIG_DEVICE_ID STREQUAL MKE17Z128xxx7))
188
189target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
190  ${CMAKE_CURRENT_LIST_DIR}/../../drivers/lpuart/fsl_lpuart_edma.c
191)
192
193target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
194  ${CMAKE_CURRENT_LIST_DIR}/../../drivers/lpuart/.
195)
196
197else()
198
199message(SEND_ERROR "driver_lpuart_edma.MKE17Z7 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
200
201endif()
202
203endif()
204
205
206if (CONFIG_USE_driver_flexio_spi_edma)
207# Add set(CONFIG_USE_driver_flexio_spi_edma true) in config.cmake to use this component
208
209message("driver_flexio_spi_edma component is included from ${CMAKE_CURRENT_LIST_FILE}.")
210
211if(CONFIG_USE_driver_edma AND CONFIG_USE_driver_flexio_spi AND (CONFIG_DEVICE_ID STREQUAL MKE17Z256xxx7 OR CONFIG_DEVICE_ID STREQUAL MKE17Z128xxx7))
212
213target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
214  ${CMAKE_CURRENT_LIST_DIR}/../../drivers/flexio/spi/fsl_flexio_spi_edma.c
215)
216
217target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
218  ${CMAKE_CURRENT_LIST_DIR}/../../drivers/flexio/spi/.
219)
220
221else()
222
223message(SEND_ERROR "driver_flexio_spi_edma.MKE17Z7 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
224
225endif()
226
227endif()
228
229
230if (CONFIG_USE_driver_flexio_uart_edma)
231# Add set(CONFIG_USE_driver_flexio_uart_edma true) in config.cmake to use this component
232
233message("driver_flexio_uart_edma component is included from ${CMAKE_CURRENT_LIST_FILE}.")
234
235if(CONFIG_USE_driver_edma AND CONFIG_USE_driver_flexio_uart AND (CONFIG_DEVICE_ID STREQUAL MKE17Z256xxx7 OR CONFIG_DEVICE_ID STREQUAL MKE17Z128xxx7))
236
237target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
238  ${CMAKE_CURRENT_LIST_DIR}/../../drivers/flexio/uart/fsl_flexio_uart_edma.c
239)
240
241target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
242  ${CMAKE_CURRENT_LIST_DIR}/../../drivers/flexio/uart/.
243)
244
245else()
246
247message(SEND_ERROR "driver_flexio_uart_edma.MKE17Z7 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
248
249endif()
250
251endif()
252
253
254if (CONFIG_USE_driver_clock)
255# Add set(CONFIG_USE_driver_clock true) in config.cmake to use this component
256
257message("driver_clock component is included from ${CMAKE_CURRENT_LIST_FILE}.")
258
259if(CONFIG_USE_driver_common)
260
261target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
262  ${CMAKE_CURRENT_LIST_DIR}/drivers/fsl_clock.c
263)
264
265target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
266  ${CMAKE_CURRENT_LIST_DIR}/drivers/.
267)
268
269else()
270
271message(SEND_ERROR "driver_clock.MKE17Z7 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
272
273endif()
274
275endif()
276
277
278if (CONFIG_USE_component_serial_manager_uart)
279# Add set(CONFIG_USE_component_serial_manager_uart true) in config.cmake to use this component
280
281message("component_serial_manager_uart component is included from ${CMAKE_CURRENT_LIST_FILE}.")
282
283if(CONFIG_USE_component_lpuart_adapter AND CONFIG_USE_component_serial_manager AND (CONFIG_USE_driver_lpuart))
284
285target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
286  ${CMAKE_CURRENT_LIST_DIR}/../../components/serial_manager/fsl_component_serial_port_uart.c
287)
288
289target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
290  ${CMAKE_CURRENT_LIST_DIR}/../../components/serial_manager/.
291)
292
293if(CONFIG_USE_COMPONENT_CONFIGURATION)
294  message("===>Import configuration from ${CMAKE_CURRENT_LIST_FILE}")
295
296  target_compile_definitions(${MCUX_SDK_PROJECT_NAME} PUBLIC
297    -DSERIAL_PORT_TYPE_UART=1
298  )
299
300endif()
301
302else()
303
304message(SEND_ERROR "component_serial_manager_uart.MKE17Z7 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
305
306endif()
307
308endif()
309
310
311if (CONFIG_USE_utility_debug_console_lite)
312# Add set(CONFIG_USE_utility_debug_console_lite true) in config.cmake to use this component
313
314message("utility_debug_console_lite component is included from ${CMAKE_CURRENT_LIST_FILE}.")
315
316if(CONFIG_USE_component_lpuart_adapter AND (CONFIG_DEVICE_ID STREQUAL MKE17Z256xxx7 OR CONFIG_DEVICE_ID STREQUAL MKE17Z128xxx7) AND CONFIG_USE_driver_common AND CONFIG_USE_utility_str)
317
318target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
319  ${CMAKE_CURRENT_LIST_DIR}/../../utilities/debug_console_lite/fsl_debug_console.c
320)
321
322target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
323  ${CMAKE_CURRENT_LIST_DIR}/../../utilities/debug_console_lite
324)
325
326else()
327
328message(SEND_ERROR "utility_debug_console_lite.MKE17Z7 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
329
330endif()
331
332endif()
333
334
335if (CONFIG_USE_driver_cmsis_lpspi)
336# Add set(CONFIG_USE_driver_cmsis_lpspi true) in config.cmake to use this component
337
338message("driver_cmsis_lpspi component is included from ${CMAKE_CURRENT_LIST_FILE}.")
339
340if(CONFIG_USE_driver_lpspi_edma AND (CONFIG_DEVICE_ID STREQUAL MKE17Z256xxx7 OR CONFIG_DEVICE_ID STREQUAL MKE17Z128xxx7) AND CONFIG_USE_driver_lpspi AND CONFIG_USE_CMSIS_Driver_Include_SPI AND CONFIG_USE_RTE_Device)
341
342target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
343  ${CMAKE_CURRENT_LIST_DIR}/../../cmsis_drivers/lpspi/fsl_lpspi_cmsis.c
344)
345
346target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
347  ${CMAKE_CURRENT_LIST_DIR}/../../cmsis_drivers/lpspi/.
348)
349
350else()
351
352message(SEND_ERROR "driver_cmsis_lpspi.MKE17Z7 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
353
354endif()
355
356endif()
357
358
359if (CONFIG_USE_driver_cmsis_lpi2c)
360# Add set(CONFIG_USE_driver_cmsis_lpi2c true) in config.cmake to use this component
361
362message("driver_cmsis_lpi2c component is included from ${CMAKE_CURRENT_LIST_FILE}.")
363
364if(CONFIG_USE_driver_lpi2c_edma AND (CONFIG_DEVICE_ID STREQUAL MKE17Z256xxx7 OR CONFIG_DEVICE_ID STREQUAL MKE17Z128xxx7) AND CONFIG_USE_driver_lpi2c AND CONFIG_USE_CMSIS_Driver_Include_I2C AND CONFIG_USE_RTE_Device)
365
366target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
367  ${CMAKE_CURRENT_LIST_DIR}/../../cmsis_drivers/lpi2c/fsl_lpi2c_cmsis.c
368)
369
370target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
371  ${CMAKE_CURRENT_LIST_DIR}/../../cmsis_drivers/lpi2c/.
372)
373
374else()
375
376message(SEND_ERROR "driver_cmsis_lpi2c.MKE17Z7 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
377
378endif()
379
380endif()
381
382
383if (CONFIG_USE_driver_cmsis_lpuart)
384# Add set(CONFIG_USE_driver_cmsis_lpuart true) in config.cmake to use this component
385
386message("driver_cmsis_lpuart component is included from ${CMAKE_CURRENT_LIST_FILE}.")
387
388if(CONFIG_USE_driver_lpuart_edma AND (CONFIG_DEVICE_ID STREQUAL MKE17Z256xxx7 OR CONFIG_DEVICE_ID STREQUAL MKE17Z128xxx7) AND CONFIG_USE_driver_lpuart AND CONFIG_USE_CMSIS_Driver_Include_USART AND CONFIG_USE_RTE_Device)
389
390target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
391  ${CMAKE_CURRENT_LIST_DIR}/../../cmsis_drivers/lpuart/fsl_lpuart_cmsis.c
392)
393
394target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
395  ${CMAKE_CURRENT_LIST_DIR}/../../cmsis_drivers/lpuart/.
396)
397
398else()
399
400message(SEND_ERROR "driver_cmsis_lpuart.MKE17Z7 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
401
402endif()
403
404endif()
405
406
407if (CONFIG_USE_utility_notifier)
408# Add set(CONFIG_USE_utility_notifier true) in config.cmake to use this component
409
410message("utility_notifier component is included from ${CMAKE_CURRENT_LIST_FILE}.")
411
412if(CONFIG_USE_driver_common)
413
414target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
415  ${CMAKE_CURRENT_LIST_DIR}/../../utilities/notifier/fsl_notifier.c
416)
417
418target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
419  ${CMAKE_CURRENT_LIST_DIR}/../../utilities/notifier/.
420)
421
422else()
423
424message(SEND_ERROR "utility_notifier.MKE17Z7 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
425
426endif()
427
428endif()
429
430
431if (CONFIG_USE_device_MKE17Z7_system)
432# Add set(CONFIG_USE_device_MKE17Z7_system true) in config.cmake to use this component
433
434message("device_MKE17Z7_system component is included from ${CMAKE_CURRENT_LIST_FILE}.")
435
436if(CONFIG_USE_device_MKE17Z7_CMSIS)
437
438target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
439  ${CMAKE_CURRENT_LIST_DIR}/./system_MKE17Z7.c
440)
441
442target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
443  ${CMAKE_CURRENT_LIST_DIR}/./.
444)
445
446else()
447
448message(SEND_ERROR "device_MKE17Z7_system.MKE17Z7 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
449
450endif()
451
452endif()
453
454
455if (CONFIG_USE_utility_assert)
456# Add set(CONFIG_USE_utility_assert true) in config.cmake to use this component
457
458message("utility_assert component is included from ${CMAKE_CURRENT_LIST_FILE}.")
459
460if(CONFIG_USE_utility_debug_console AND CONFIG_USE_driver_common)
461
462target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
463  ${CMAKE_CURRENT_LIST_DIR}/../../utilities/assert/fsl_assert.c
464)
465
466target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
467  ${CMAKE_CURRENT_LIST_DIR}/../../utilities/assert/.
468)
469
470else()
471
472message(SEND_ERROR "utility_assert.MKE17Z7 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
473
474endif()
475
476endif()
477
478
479if (CONFIG_USE_utility_assert_lite)
480# Add set(CONFIG_USE_utility_assert_lite true) in config.cmake to use this component
481
482message("utility_assert_lite component is included from ${CMAKE_CURRENT_LIST_FILE}.")
483
484if(CONFIG_USE_utility_debug_console_lite AND CONFIG_USE_driver_common)
485
486target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
487  ${CMAKE_CURRENT_LIST_DIR}/../../utilities/assert/fsl_assert.c
488)
489
490target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
491  ${CMAKE_CURRENT_LIST_DIR}/../../utilities/assert/.
492)
493
494else()
495
496message(SEND_ERROR "utility_assert_lite.MKE17Z7 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
497
498endif()
499
500endif()
501
502
503if (CONFIG_USE_utility_str)
504# Add set(CONFIG_USE_utility_str true) in config.cmake to use this component
505
506message("utility_str component is included from ${CMAKE_CURRENT_LIST_FILE}.")
507
508if(CONFIG_USE_driver_common)
509
510target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
511  ${CMAKE_CURRENT_LIST_DIR}/../../utilities/str/fsl_str.c
512)
513
514target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
515  ${CMAKE_CURRENT_LIST_DIR}/../../utilities/str
516)
517
518else()
519
520message(SEND_ERROR "utility_str.MKE17Z7 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
521
522endif()
523
524endif()
525
526
527if (CONFIG_USE_utility_debug_console)
528# Add set(CONFIG_USE_utility_debug_console true) in config.cmake to use this component
529
530message("utility_debug_console component is included from ${CMAKE_CURRENT_LIST_FILE}.")
531
532if(CONFIG_USE_component_serial_manager AND CONFIG_USE_driver_common AND CONFIG_USE_utility_str)
533
534target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
535  ${CMAKE_CURRENT_LIST_DIR}/../../utilities/debug_console/fsl_debug_console.c
536)
537
538target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
539  ${CMAKE_CURRENT_LIST_DIR}/../../utilities/debug_console
540)
541
542else()
543
544message(SEND_ERROR "utility_debug_console.MKE17Z7 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
545
546endif()
547
548endif()
549
550
551if (CONFIG_USE_driver_fxos8700cq)
552# Add set(CONFIG_USE_driver_fxos8700cq true) in config.cmake to use this component
553
554message("driver_fxos8700cq component is included from ${CMAKE_CURRENT_LIST_FILE}.")
555
556if(CONFIG_USE_driver_common)
557
558target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
559  ${CMAKE_CURRENT_LIST_DIR}/../../components/fxos8700cq/fsl_fxos.c
560)
561
562target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
563  ${CMAKE_CURRENT_LIST_DIR}/../../components/fxos8700cq/.
564)
565
566else()
567
568message(SEND_ERROR "driver_fxos8700cq.MKE17Z7 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
569
570endif()
571
572endif()
573
574
575if (CONFIG_USE_component_lists)
576# Add set(CONFIG_USE_component_lists true) in config.cmake to use this component
577
578message("component_lists component is included from ${CMAKE_CURRENT_LIST_FILE}.")
579
580if(CONFIG_USE_driver_common)
581
582target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
583  ${CMAKE_CURRENT_LIST_DIR}/../../components/lists/fsl_component_generic_list.c
584)
585
586target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
587  ${CMAKE_CURRENT_LIST_DIR}/../../components/lists/.
588)
589
590else()
591
592message(SEND_ERROR "component_lists.MKE17Z7 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
593
594endif()
595
596endif()
597
598
599if (CONFIG_USE_component_log)
600# Add set(CONFIG_USE_component_log true) in config.cmake to use this component
601
602message("component_log component is included from ${CMAKE_CURRENT_LIST_FILE}.")
603
604if(CONFIG_USE_driver_common AND CONFIG_USE_utility_str)
605
606target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
607  ${CMAKE_CURRENT_LIST_DIR}/../../components/log/fsl_component_log.c
608)
609
610target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
611  ${CMAKE_CURRENT_LIST_DIR}/../../components/log/.
612)
613
614else()
615
616message(SEND_ERROR "component_log.MKE17Z7 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
617
618endif()
619
620endif()
621
622
623if (CONFIG_USE_component_log_backend_debugconsole)
624# Add set(CONFIG_USE_component_log_backend_debugconsole true) in config.cmake to use this component
625
626message("component_log_backend_debugconsole component is included from ${CMAKE_CURRENT_LIST_FILE}.")
627
628if(CONFIG_USE_driver_common AND CONFIG_USE_component_log AND CONFIG_USE_utility_debug_console)
629
630target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
631  ${CMAKE_CURRENT_LIST_DIR}/../../components/log/fsl_component_log_backend_debugconsole.c
632)
633
634target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
635  ${CMAKE_CURRENT_LIST_DIR}/../../components/log/.
636)
637
638else()
639
640message(SEND_ERROR "component_log_backend_debugconsole.MKE17Z7 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
641
642endif()
643
644endif()
645
646
647if (CONFIG_USE_component_log_backend_debugconsole_lite)
648# Add set(CONFIG_USE_component_log_backend_debugconsole_lite true) in config.cmake to use this component
649
650message("component_log_backend_debugconsole_lite component is included from ${CMAKE_CURRENT_LIST_FILE}.")
651
652if(CONFIG_USE_driver_common AND CONFIG_USE_component_log AND CONFIG_USE_utility_debug_console_lite)
653
654target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
655  ${CMAKE_CURRENT_LIST_DIR}/../../components/log/fsl_component_log_backend_debugconsole.c
656)
657
658target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
659  ${CMAKE_CURRENT_LIST_DIR}/../../components/log/.
660)
661
662else()
663
664message(SEND_ERROR "component_log_backend_debugconsole_lite.MKE17Z7 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
665
666endif()
667
668endif()
669
670
671if (CONFIG_USE_component_log_backend_ringbuffer)
672# Add set(CONFIG_USE_component_log_backend_ringbuffer true) in config.cmake to use this component
673
674message("component_log_backend_ringbuffer component is included from ${CMAKE_CURRENT_LIST_FILE}.")
675
676if(CONFIG_USE_driver_common AND CONFIG_USE_component_log)
677
678target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
679  ${CMAKE_CURRENT_LIST_DIR}/../../components/log/fsl_component_log_backend_ringbuffer.c
680)
681
682target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
683  ${CMAKE_CURRENT_LIST_DIR}/../../components/log/.
684)
685
686else()
687
688message(SEND_ERROR "component_log_backend_ringbuffer.MKE17Z7 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
689
690endif()
691
692endif()
693
694
695if (CONFIG_USE_component_panic)
696# Add set(CONFIG_USE_component_panic true) in config.cmake to use this component
697
698message("component_panic component is included from ${CMAKE_CURRENT_LIST_FILE}.")
699
700if(CONFIG_USE_driver_common)
701
702target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
703  ${CMAKE_CURRENT_LIST_DIR}/../../components/panic/fsl_component_panic.c
704)
705
706target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
707  ${CMAKE_CURRENT_LIST_DIR}/../../components/panic/.
708)
709
710else()
711
712message(SEND_ERROR "component_panic.MKE17Z7 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
713
714endif()
715
716endif()
717
718
719if (CONFIG_USE_component_reset_adapter)
720# Add set(CONFIG_USE_component_reset_adapter true) in config.cmake to use this component
721
722message("component_reset_adapter component is included from ${CMAKE_CURRENT_LIST_FILE}.")
723
724if(CONFIG_USE_driver_common)
725
726target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
727  ${CMAKE_CURRENT_LIST_DIR}/../../components/reset/fsl_adapter_reset.c
728)
729
730target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
731  ${CMAKE_CURRENT_LIST_DIR}/../../components/reset/.
732)
733
734else()
735
736message(SEND_ERROR "component_reset_adapter.MKE17Z7 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
737
738endif()
739
740endif()
741
742
743if (CONFIG_USE_component_serial_manager)
744# Add set(CONFIG_USE_component_serial_manager true) in config.cmake to use this component
745
746message("component_serial_manager component is included from ${CMAKE_CURRENT_LIST_FILE}.")
747
748if(CONFIG_USE_driver_common AND CONFIG_USE_component_lists AND (CONFIG_USE_component_serial_manager_uart OR CONFIG_USE_component_serial_manager_virtual OR CONFIG_USE_component_serial_manager_spi))
749
750target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
751  ${CMAKE_CURRENT_LIST_DIR}/../../components/serial_manager/fsl_component_serial_manager.c
752)
753
754target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
755  ${CMAKE_CURRENT_LIST_DIR}/../../components/serial_manager/.
756)
757
758else()
759
760message(SEND_ERROR "component_serial_manager.MKE17Z7 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
761
762endif()
763
764endif()
765
766
767if (CONFIG_USE_component_serial_manager_spi)
768# Add set(CONFIG_USE_component_serial_manager_spi true) in config.cmake to use this component
769
770message("component_serial_manager_spi component is included from ${CMAKE_CURRENT_LIST_FILE}.")
771
772if(CONFIG_USE_component_serial_manager AND ((CONFIG_USE_driver_lpspi AND CONFIG_USE_component_lpspi_adapter)))
773
774target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
775  ${CMAKE_CURRENT_LIST_DIR}/../../components/serial_manager/fsl_component_serial_port_spi.c
776)
777
778target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
779  ${CMAKE_CURRENT_LIST_DIR}/../../components/serial_manager/.
780)
781
782if(CONFIG_USE_COMPONENT_CONFIGURATION)
783  message("===>Import configuration from ${CMAKE_CURRENT_LIST_FILE}")
784
785  target_compile_definitions(${MCUX_SDK_PROJECT_NAME} PUBLIC
786    -DSERIAL_PORT_TYPE_SPI=1
787    -DSERIAL_PORT_TYPE_SPI_MASTER=1
788    -DSERIAL_PORT_TYPE_SPI_SLAVE=1
789    -DSERIAL_MANAGER_NON_BLOCKING_MODE=1
790  )
791
792endif()
793
794else()
795
796message(SEND_ERROR "component_serial_manager_spi.MKE17Z7 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
797
798endif()
799
800endif()
801
802
803if (CONFIG_USE_component_serial_manager_virtual)
804# Add set(CONFIG_USE_component_serial_manager_virtual true) in config.cmake to use this component
805
806message("component_serial_manager_virtual component is included from ${CMAKE_CURRENT_LIST_FILE}.")
807
808if(CONFIG_USE_component_serial_manager AND CONFIG_USE_driver_common)
809
810target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
811  ${CMAKE_CURRENT_LIST_DIR}/../../components/serial_manager/fsl_component_serial_port_virtual.c
812)
813
814target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
815  ${CMAKE_CURRENT_LIST_DIR}/../../components/serial_manager/.
816)
817
818if(CONFIG_USE_COMPONENT_CONFIGURATION)
819  message("===>Import configuration from ${CMAKE_CURRENT_LIST_FILE}")
820
821  target_compile_definitions(${MCUX_SDK_PROJECT_NAME} PUBLIC
822    -DSERIAL_PORT_TYPE_VIRTUAL=1
823    -DDEBUG_CONSOLE_TRANSFER_NON_BLOCKING
824  )
825
826endif()
827
828else()
829
830message(SEND_ERROR "component_serial_manager_virtual.MKE17Z7 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
831
832endif()
833
834endif()
835
836
837if (CONFIG_USE_utility_shell)
838# Add set(CONFIG_USE_utility_shell true) in config.cmake to use this component
839
840message("utility_shell component is included from ${CMAKE_CURRENT_LIST_FILE}.")
841
842if(CONFIG_USE_utility_str AND CONFIG_USE_component_lists AND CONFIG_USE_driver_common)
843
844target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
845  ${CMAKE_CURRENT_LIST_DIR}/../../utilities/shell/fsl_shell.c
846)
847
848target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
849  ${CMAKE_CURRENT_LIST_DIR}/../../utilities/shell/.
850)
851
852if(CONFIG_USE_COMPONENT_CONFIGURATION)
853  message("===>Import configuration from ${CMAKE_CURRENT_LIST_FILE}")
854
855  target_compile_definitions(${MCUX_SDK_PROJECT_NAME} PUBLIC
856    -DDEBUG_CONSOLE_RX_ENABLE=0
857  )
858
859endif()
860
861else()
862
863message(SEND_ERROR "utility_shell.MKE17Z7 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
864
865endif()
866
867endif()
868
869
870if (CONFIG_USE_component_lpspi_adapter)
871# Add set(CONFIG_USE_component_lpspi_adapter true) in config.cmake to use this component
872
873message("component_lpspi_adapter component is included from ${CMAKE_CURRENT_LIST_FILE}.")
874
875if(CONFIG_USE_driver_common AND CONFIG_USE_driver_lpspi)
876
877target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
878  ${CMAKE_CURRENT_LIST_DIR}/../../components/spi/fsl_adapter_lpspi.c
879)
880
881target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
882  ${CMAKE_CURRENT_LIST_DIR}/../../components/spi/.
883)
884
885else()
886
887message(SEND_ERROR "component_lpspi_adapter.MKE17Z7 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
888
889endif()
890
891endif()
892
893
894if (CONFIG_USE_component_lpuart_adapter)
895# Add set(CONFIG_USE_component_lpuart_adapter true) in config.cmake to use this component
896
897message("component_lpuart_adapter component is included from ${CMAKE_CURRENT_LIST_FILE}.")
898
899if(CONFIG_USE_driver_common AND CONFIG_USE_driver_lpuart)
900
901target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
902  ${CMAKE_CURRENT_LIST_DIR}/../../components/uart/fsl_adapter_lpuart.c
903)
904
905target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
906  ${CMAKE_CURRENT_LIST_DIR}/../../components/uart/.
907)
908
909else()
910
911message(SEND_ERROR "component_lpuart_adapter.MKE17Z7 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
912
913endif()
914
915endif()
916
917
918if (CONFIG_USE_driver_common)
919# Add set(CONFIG_USE_driver_common true) in config.cmake to use this component
920
921message("driver_common component is included from ${CMAKE_CURRENT_LIST_FILE}.")
922
923if(CONFIG_USE_driver_clock AND CONFIG_USE_device_MKE17Z7_CMSIS)
924
925target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
926  ${CMAKE_CURRENT_LIST_DIR}/../../drivers/common/fsl_common.c
927)
928
929if(CONFIG_CORE STREQUAL cm0p)
930  target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
931      ${CMAKE_CURRENT_LIST_DIR}/../../drivers/common/fsl_common_arm.c
932  )
933endif()
934
935target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
936  ${CMAKE_CURRENT_LIST_DIR}/../../drivers/common/.
937)
938
939else()
940
941message(SEND_ERROR "driver_common.MKE17Z7 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
942
943endif()
944
945endif()
946
947
948if (CONFIG_USE_driver_acmp)
949# Add set(CONFIG_USE_driver_acmp true) in config.cmake to use this component
950
951message("driver_acmp component is included from ${CMAKE_CURRENT_LIST_FILE}.")
952
953if((CONFIG_DEVICE_ID STREQUAL MKE17Z256xxx7 OR CONFIG_DEVICE_ID STREQUAL MKE17Z128xxx7) AND CONFIG_USE_driver_common)
954
955target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
956  ${CMAKE_CURRENT_LIST_DIR}/../../drivers/acmp/fsl_acmp.c
957)
958
959target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
960  ${CMAKE_CURRENT_LIST_DIR}/../../drivers/acmp/.
961)
962
963else()
964
965message(SEND_ERROR "driver_acmp.MKE17Z7 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
966
967endif()
968
969endif()
970
971
972if (CONFIG_USE_driver_adc12)
973# Add set(CONFIG_USE_driver_adc12 true) in config.cmake to use this component
974
975message("driver_adc12 component is included from ${CMAKE_CURRENT_LIST_FILE}.")
976
977if((CONFIG_DEVICE_ID STREQUAL MKE17Z256xxx7 OR CONFIG_DEVICE_ID STREQUAL MKE17Z128xxx7) AND CONFIG_USE_driver_common)
978
979target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
980  ${CMAKE_CURRENT_LIST_DIR}/../../drivers/adc12/fsl_adc12.c
981)
982
983target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
984  ${CMAKE_CURRENT_LIST_DIR}/../../drivers/adc12/.
985)
986
987else()
988
989message(SEND_ERROR "driver_adc12.MKE17Z7 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
990
991endif()
992
993endif()
994
995
996if (CONFIG_USE_driver_crc)
997# Add set(CONFIG_USE_driver_crc true) in config.cmake to use this component
998
999message("driver_crc component is included from ${CMAKE_CURRENT_LIST_FILE}.")
1000
1001if((CONFIG_DEVICE_ID STREQUAL MKE17Z256xxx7 OR CONFIG_DEVICE_ID STREQUAL MKE17Z128xxx7) AND CONFIG_USE_driver_common)
1002
1003target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
1004  ${CMAKE_CURRENT_LIST_DIR}/../../drivers/crc/fsl_crc.c
1005)
1006
1007target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
1008  ${CMAKE_CURRENT_LIST_DIR}/../../drivers/crc/.
1009)
1010
1011else()
1012
1013message(SEND_ERROR "driver_crc.MKE17Z7 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
1014
1015endif()
1016
1017endif()
1018
1019
1020if (CONFIG_USE_driver_dmamux)
1021# Add set(CONFIG_USE_driver_dmamux true) in config.cmake to use this component
1022
1023message("driver_dmamux component is included from ${CMAKE_CURRENT_LIST_FILE}.")
1024
1025if((CONFIG_DEVICE_ID STREQUAL MKE17Z256xxx7 OR CONFIG_DEVICE_ID STREQUAL MKE17Z128xxx7) AND CONFIG_USE_driver_common)
1026
1027target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
1028  ${CMAKE_CURRENT_LIST_DIR}/../../drivers/dmamux/fsl_dmamux.c
1029)
1030
1031target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
1032  ${CMAKE_CURRENT_LIST_DIR}/../../drivers/dmamux/.
1033)
1034
1035else()
1036
1037message(SEND_ERROR "driver_dmamux.MKE17Z7 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
1038
1039endif()
1040
1041endif()
1042
1043
1044if (CONFIG_USE_driver_edma)
1045# Add set(CONFIG_USE_driver_edma true) in config.cmake to use this component
1046
1047message("driver_edma component is included from ${CMAKE_CURRENT_LIST_FILE}.")
1048
1049if((CONFIG_DEVICE_ID STREQUAL MKE17Z256xxx7 OR CONFIG_DEVICE_ID STREQUAL MKE17Z128xxx7) AND CONFIG_USE_driver_common AND CONFIG_USE_driver_dmamux)
1050
1051target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
1052  ${CMAKE_CURRENT_LIST_DIR}/../../drivers/edma/fsl_edma.c
1053)
1054
1055target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
1056  ${CMAKE_CURRENT_LIST_DIR}/../../drivers/edma/.
1057)
1058
1059else()
1060
1061message(SEND_ERROR "driver_edma.MKE17Z7 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
1062
1063endif()
1064
1065endif()
1066
1067
1068if (CONFIG_USE_driver_ewm)
1069# Add set(CONFIG_USE_driver_ewm true) in config.cmake to use this component
1070
1071message("driver_ewm component is included from ${CMAKE_CURRENT_LIST_FILE}.")
1072
1073if((CONFIG_DEVICE_ID STREQUAL MKE17Z256xxx7 OR CONFIG_DEVICE_ID STREQUAL MKE17Z128xxx7) AND CONFIG_USE_driver_common)
1074
1075target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
1076  ${CMAKE_CURRENT_LIST_DIR}/../../drivers/ewm/fsl_ewm.c
1077)
1078
1079target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
1080  ${CMAKE_CURRENT_LIST_DIR}/../../drivers/ewm/.
1081)
1082
1083else()
1084
1085message(SEND_ERROR "driver_ewm.MKE17Z7 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
1086
1087endif()
1088
1089endif()
1090
1091
1092if (CONFIG_USE_driver_flash)
1093# Add set(CONFIG_USE_driver_flash true) in config.cmake to use this component
1094
1095message("driver_flash component is included from ${CMAKE_CURRENT_LIST_FILE}.")
1096
1097if(CONFIG_USE_driver_common)
1098
1099target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
1100  ${CMAKE_CURRENT_LIST_DIR}/../../drivers/flash/fsl_ftfx_controller.c
1101  ${CMAKE_CURRENT_LIST_DIR}/../../drivers/flash/fsl_ftfx_flash.c
1102  ${CMAKE_CURRENT_LIST_DIR}/../../drivers/flash/fsl_ftfx_cache.c
1103  ${CMAKE_CURRENT_LIST_DIR}/../../drivers/flash/fsl_ftfx_flexnvm.c
1104)
1105
1106target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
1107  ${CMAKE_CURRENT_LIST_DIR}/../../drivers/flash/.
1108)
1109
1110else()
1111
1112message(SEND_ERROR "driver_flash.MKE17Z7 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
1113
1114endif()
1115
1116endif()
1117
1118
1119if (CONFIG_USE_driver_flexio)
1120# Add set(CONFIG_USE_driver_flexio true) in config.cmake to use this component
1121
1122message("driver_flexio component is included from ${CMAKE_CURRENT_LIST_FILE}.")
1123
1124if((CONFIG_DEVICE_ID STREQUAL MKE17Z256xxx7 OR CONFIG_DEVICE_ID STREQUAL MKE17Z128xxx7) AND CONFIG_USE_driver_common)
1125
1126target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
1127  ${CMAKE_CURRENT_LIST_DIR}/../../drivers/flexio/fsl_flexio.c
1128)
1129
1130target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
1131  ${CMAKE_CURRENT_LIST_DIR}/../../drivers/flexio/.
1132)
1133
1134else()
1135
1136message(SEND_ERROR "driver_flexio.MKE17Z7 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
1137
1138endif()
1139
1140endif()
1141
1142
1143if (CONFIG_USE_driver_flexio_i2c_master)
1144# Add set(CONFIG_USE_driver_flexio_i2c_master true) in config.cmake to use this component
1145
1146message("driver_flexio_i2c_master component is included from ${CMAKE_CURRENT_LIST_FILE}.")
1147
1148if(CONFIG_USE_driver_flexio)
1149
1150target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
1151  ${CMAKE_CURRENT_LIST_DIR}/../../drivers/flexio/i2c/fsl_flexio_i2c_master.c
1152)
1153
1154target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
1155  ${CMAKE_CURRENT_LIST_DIR}/../../drivers/flexio/i2c/.
1156)
1157
1158else()
1159
1160message(SEND_ERROR "driver_flexio_i2c_master.MKE17Z7 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
1161
1162endif()
1163
1164endif()
1165
1166
1167if (CONFIG_USE_driver_flexio_spi)
1168# Add set(CONFIG_USE_driver_flexio_spi true) in config.cmake to use this component
1169
1170message("driver_flexio_spi component is included from ${CMAKE_CURRENT_LIST_FILE}.")
1171
1172if(CONFIG_USE_driver_flexio)
1173
1174target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
1175  ${CMAKE_CURRENT_LIST_DIR}/../../drivers/flexio/spi/fsl_flexio_spi.c
1176)
1177
1178target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
1179  ${CMAKE_CURRENT_LIST_DIR}/../../drivers/flexio/spi/.
1180)
1181
1182else()
1183
1184message(SEND_ERROR "driver_flexio_spi.MKE17Z7 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
1185
1186endif()
1187
1188endif()
1189
1190
1191if (CONFIG_USE_driver_flexio_uart)
1192# Add set(CONFIG_USE_driver_flexio_uart true) in config.cmake to use this component
1193
1194message("driver_flexio_uart component is included from ${CMAKE_CURRENT_LIST_FILE}.")
1195
1196if(CONFIG_USE_driver_flexio)
1197
1198target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
1199  ${CMAKE_CURRENT_LIST_DIR}/../../drivers/flexio/uart/fsl_flexio_uart.c
1200)
1201
1202target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
1203  ${CMAKE_CURRENT_LIST_DIR}/../../drivers/flexio/uart/.
1204)
1205
1206else()
1207
1208message(SEND_ERROR "driver_flexio_uart.MKE17Z7 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
1209
1210endif()
1211
1212endif()
1213
1214
1215if (CONFIG_USE_driver_ftm)
1216# Add set(CONFIG_USE_driver_ftm true) in config.cmake to use this component
1217
1218message("driver_ftm component is included from ${CMAKE_CURRENT_LIST_FILE}.")
1219
1220if((CONFIG_DEVICE_ID STREQUAL MKE17Z256xxx7 OR CONFIG_DEVICE_ID STREQUAL MKE17Z128xxx7) AND CONFIG_USE_driver_common)
1221
1222target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
1223  ${CMAKE_CURRENT_LIST_DIR}/../../drivers/ftm/fsl_ftm.c
1224)
1225
1226target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
1227  ${CMAKE_CURRENT_LIST_DIR}/../../drivers/ftm/.
1228)
1229
1230else()
1231
1232message(SEND_ERROR "driver_ftm.MKE17Z7 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
1233
1234endif()
1235
1236endif()
1237
1238
1239if (CONFIG_USE_driver_gpio)
1240# Add set(CONFIG_USE_driver_gpio true) in config.cmake to use this component
1241
1242message("driver_gpio component is included from ${CMAKE_CURRENT_LIST_FILE}.")
1243
1244if((CONFIG_DEVICE_ID STREQUAL MKE17Z256xxx7 OR CONFIG_DEVICE_ID STREQUAL MKE17Z128xxx7) AND CONFIG_USE_driver_common)
1245
1246target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
1247  ${CMAKE_CURRENT_LIST_DIR}/../../drivers/gpio/fsl_gpio.c
1248)
1249
1250target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
1251  ${CMAKE_CURRENT_LIST_DIR}/../../drivers/gpio/.
1252)
1253
1254else()
1255
1256message(SEND_ERROR "driver_gpio.MKE17Z7 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
1257
1258endif()
1259
1260endif()
1261
1262
1263if (CONFIG_USE_driver_lpi2c)
1264# Add set(CONFIG_USE_driver_lpi2c true) in config.cmake to use this component
1265
1266message("driver_lpi2c component is included from ${CMAKE_CURRENT_LIST_FILE}.")
1267
1268if((CONFIG_DEVICE_ID STREQUAL MKE17Z256xxx7 OR CONFIG_DEVICE_ID STREQUAL MKE17Z128xxx7) AND CONFIG_USE_driver_common)
1269
1270target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
1271  ${CMAKE_CURRENT_LIST_DIR}/../../drivers/lpi2c/fsl_lpi2c.c
1272)
1273
1274target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
1275  ${CMAKE_CURRENT_LIST_DIR}/../../drivers/lpi2c/.
1276)
1277
1278else()
1279
1280message(SEND_ERROR "driver_lpi2c.MKE17Z7 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
1281
1282endif()
1283
1284endif()
1285
1286
1287if (CONFIG_USE_driver_lpi2c_freertos)
1288# Add set(CONFIG_USE_driver_lpi2c_freertos true) in config.cmake to use this component
1289
1290message("driver_lpi2c_freertos component is included from ${CMAKE_CURRENT_LIST_FILE}.")
1291
1292if(CONFIG_USE_driver_lpi2c AND CONFIG_USE_middleware_freertos-kernel)
1293
1294target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
1295  ${CMAKE_CURRENT_LIST_DIR}/../../drivers/lpi2c/fsl_lpi2c_freertos.c
1296)
1297
1298target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
1299  ${CMAKE_CURRENT_LIST_DIR}/drivers/.
1300)
1301
1302else()
1303
1304message(SEND_ERROR "driver_lpi2c_freertos.MKE17Z7 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
1305
1306endif()
1307
1308endif()
1309
1310
1311if (CONFIG_USE_driver_lpit)
1312# Add set(CONFIG_USE_driver_lpit true) in config.cmake to use this component
1313
1314message("driver_lpit component is included from ${CMAKE_CURRENT_LIST_FILE}.")
1315
1316if((CONFIG_DEVICE_ID STREQUAL MKE17Z256xxx7 OR CONFIG_DEVICE_ID STREQUAL MKE17Z128xxx7) AND CONFIG_USE_driver_common)
1317
1318target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
1319  ${CMAKE_CURRENT_LIST_DIR}/../../drivers/lpit/fsl_lpit.c
1320)
1321
1322target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
1323  ${CMAKE_CURRENT_LIST_DIR}/../../drivers/lpit/.
1324)
1325
1326else()
1327
1328message(SEND_ERROR "driver_lpit.MKE17Z7 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
1329
1330endif()
1331
1332endif()
1333
1334
1335if (CONFIG_USE_driver_lpspi)
1336# Add set(CONFIG_USE_driver_lpspi true) in config.cmake to use this component
1337
1338message("driver_lpspi component is included from ${CMAKE_CURRENT_LIST_FILE}.")
1339
1340if((CONFIG_DEVICE_ID STREQUAL MKE17Z256xxx7 OR CONFIG_DEVICE_ID STREQUAL MKE17Z128xxx7) AND CONFIG_USE_driver_common)
1341
1342target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
1343  ${CMAKE_CURRENT_LIST_DIR}/../../drivers/lpspi/fsl_lpspi.c
1344)
1345
1346target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
1347  ${CMAKE_CURRENT_LIST_DIR}/../../drivers/lpspi/.
1348)
1349
1350else()
1351
1352message(SEND_ERROR "driver_lpspi.MKE17Z7 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
1353
1354endif()
1355
1356endif()
1357
1358
1359if (CONFIG_USE_driver_lpspi_freertos)
1360# Add set(CONFIG_USE_driver_lpspi_freertos true) in config.cmake to use this component
1361
1362message("driver_lpspi_freertos component is included from ${CMAKE_CURRENT_LIST_FILE}.")
1363
1364if(CONFIG_USE_driver_lpspi AND CONFIG_USE_middleware_freertos-kernel)
1365
1366target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
1367  ${CMAKE_CURRENT_LIST_DIR}/../../drivers/lpspi/fsl_lpspi_freertos.c
1368)
1369
1370target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
1371  ${CMAKE_CURRENT_LIST_DIR}/drivers/.
1372)
1373
1374else()
1375
1376message(SEND_ERROR "driver_lpspi_freertos.MKE17Z7 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
1377
1378endif()
1379
1380endif()
1381
1382
1383if (CONFIG_USE_driver_lptmr)
1384# Add set(CONFIG_USE_driver_lptmr true) in config.cmake to use this component
1385
1386message("driver_lptmr component is included from ${CMAKE_CURRENT_LIST_FILE}.")
1387
1388if((CONFIG_DEVICE_ID STREQUAL MKE17Z256xxx7 OR CONFIG_DEVICE_ID STREQUAL MKE17Z128xxx7) AND CONFIG_USE_driver_common)
1389
1390target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
1391  ${CMAKE_CURRENT_LIST_DIR}/../../drivers/lptmr/fsl_lptmr.c
1392)
1393
1394target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
1395  ${CMAKE_CURRENT_LIST_DIR}/../../drivers/lptmr/.
1396)
1397
1398else()
1399
1400message(SEND_ERROR "driver_lptmr.MKE17Z7 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
1401
1402endif()
1403
1404endif()
1405
1406
1407if (CONFIG_USE_driver_lpuart)
1408# Add set(CONFIG_USE_driver_lpuart true) in config.cmake to use this component
1409
1410message("driver_lpuart component is included from ${CMAKE_CURRENT_LIST_FILE}.")
1411
1412if((CONFIG_DEVICE_ID STREQUAL MKE17Z256xxx7 OR CONFIG_DEVICE_ID STREQUAL MKE17Z128xxx7) AND CONFIG_USE_driver_common)
1413
1414target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
1415  ${CMAKE_CURRENT_LIST_DIR}/../../drivers/lpuart/fsl_lpuart.c
1416)
1417
1418target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
1419  ${CMAKE_CURRENT_LIST_DIR}/../../drivers/lpuart/.
1420)
1421
1422else()
1423
1424message(SEND_ERROR "driver_lpuart.MKE17Z7 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
1425
1426endif()
1427
1428endif()
1429
1430
1431if (CONFIG_USE_driver_lpuart_freertos)
1432# Add set(CONFIG_USE_driver_lpuart_freertos true) in config.cmake to use this component
1433
1434message("driver_lpuart_freertos component is included from ${CMAKE_CURRENT_LIST_FILE}.")
1435
1436if(CONFIG_USE_driver_lpuart AND CONFIG_USE_middleware_freertos-kernel)
1437
1438target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
1439  ${CMAKE_CURRENT_LIST_DIR}/../../drivers/lpuart/fsl_lpuart_freertos.c
1440)
1441
1442target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
1443  ${CMAKE_CURRENT_LIST_DIR}/drivers/.
1444)
1445
1446else()
1447
1448message(SEND_ERROR "driver_lpuart_freertos.MKE17Z7 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
1449
1450endif()
1451
1452endif()
1453
1454
1455if (CONFIG_USE_driver_pmc)
1456# Add set(CONFIG_USE_driver_pmc true) in config.cmake to use this component
1457
1458message("driver_pmc component is included from ${CMAKE_CURRENT_LIST_FILE}.")
1459
1460if((CONFIG_DEVICE_ID STREQUAL MKE17Z256xxx7 OR CONFIG_DEVICE_ID STREQUAL MKE17Z128xxx7) AND CONFIG_USE_driver_common)
1461
1462target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
1463  ${CMAKE_CURRENT_LIST_DIR}/../../drivers/pmc/fsl_pmc.c
1464)
1465
1466target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
1467  ${CMAKE_CURRENT_LIST_DIR}/../../drivers/pmc/.
1468)
1469
1470else()
1471
1472message(SEND_ERROR "driver_pmc.MKE17Z7 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
1473
1474endif()
1475
1476endif()
1477
1478
1479if (CONFIG_USE_driver_port)
1480# Add set(CONFIG_USE_driver_port true) in config.cmake to use this component
1481
1482message("driver_port component is included from ${CMAKE_CURRENT_LIST_FILE}.")
1483
1484if((CONFIG_DEVICE_ID STREQUAL MKE17Z256xxx7 OR CONFIG_DEVICE_ID STREQUAL MKE17Z128xxx7) AND CONFIG_USE_driver_common)
1485
1486target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
1487  ${CMAKE_CURRENT_LIST_DIR}/../../drivers/port/.
1488)
1489
1490else()
1491
1492message(SEND_ERROR "driver_port.MKE17Z7 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
1493
1494endif()
1495
1496endif()
1497
1498
1499if (CONFIG_USE_driver_pwt)
1500# Add set(CONFIG_USE_driver_pwt true) in config.cmake to use this component
1501
1502message("driver_pwt component is included from ${CMAKE_CURRENT_LIST_FILE}.")
1503
1504if((CONFIG_DEVICE_ID STREQUAL MKE17Z256xxx7 OR CONFIG_DEVICE_ID STREQUAL MKE17Z128xxx7) AND CONFIG_USE_driver_common)
1505
1506target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
1507  ${CMAKE_CURRENT_LIST_DIR}/../../drivers/pwt/fsl_pwt.c
1508)
1509
1510target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
1511  ${CMAKE_CURRENT_LIST_DIR}/../../drivers/pwt/.
1512)
1513
1514else()
1515
1516message(SEND_ERROR "driver_pwt.MKE17Z7 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
1517
1518endif()
1519
1520endif()
1521
1522
1523if (CONFIG_USE_driver_rcm)
1524# Add set(CONFIG_USE_driver_rcm true) in config.cmake to use this component
1525
1526message("driver_rcm component is included from ${CMAKE_CURRENT_LIST_FILE}.")
1527
1528if((CONFIG_DEVICE_ID STREQUAL MKE17Z256xxx7 OR CONFIG_DEVICE_ID STREQUAL MKE17Z128xxx7) AND CONFIG_USE_driver_common)
1529
1530target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
1531  ${CMAKE_CURRENT_LIST_DIR}/../../drivers/rcm/fsl_rcm.c
1532)
1533
1534target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
1535  ${CMAKE_CURRENT_LIST_DIR}/../../drivers/rcm/.
1536)
1537
1538else()
1539
1540message(SEND_ERROR "driver_rcm.MKE17Z7 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
1541
1542endif()
1543
1544endif()
1545
1546
1547if (CONFIG_USE_driver_sim)
1548# Add set(CONFIG_USE_driver_sim true) in config.cmake to use this component
1549
1550message("driver_sim component is included from ${CMAKE_CURRENT_LIST_FILE}.")
1551
1552if((CONFIG_DEVICE_ID STREQUAL MKE17Z256xxx7 OR CONFIG_DEVICE_ID STREQUAL MKE17Z128xxx7) AND CONFIG_USE_driver_common)
1553
1554target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
1555  ${CMAKE_CURRENT_LIST_DIR}/../../drivers/sim/fsl_sim.c
1556)
1557
1558target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
1559  ${CMAKE_CURRENT_LIST_DIR}/../../drivers/sim/.
1560)
1561
1562else()
1563
1564message(SEND_ERROR "driver_sim.MKE17Z7 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
1565
1566endif()
1567
1568endif()
1569
1570
1571if (CONFIG_USE_driver_smc)
1572# Add set(CONFIG_USE_driver_smc true) in config.cmake to use this component
1573
1574message("driver_smc component is included from ${CMAKE_CURRENT_LIST_FILE}.")
1575
1576if((CONFIG_DEVICE_ID STREQUAL MKE17Z256xxx7 OR CONFIG_DEVICE_ID STREQUAL MKE17Z128xxx7) AND CONFIG_USE_driver_common)
1577
1578target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
1579  ${CMAKE_CURRENT_LIST_DIR}/../../drivers/smc/fsl_smc.c
1580)
1581
1582target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
1583  ${CMAKE_CURRENT_LIST_DIR}/../../drivers/smc/.
1584)
1585
1586else()
1587
1588message(SEND_ERROR "driver_smc.MKE17Z7 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
1589
1590endif()
1591
1592endif()
1593
1594
1595if (CONFIG_USE_driver_trgmux)
1596# Add set(CONFIG_USE_driver_trgmux true) in config.cmake to use this component
1597
1598message("driver_trgmux component is included from ${CMAKE_CURRENT_LIST_FILE}.")
1599
1600if((CONFIG_DEVICE_ID STREQUAL MKE17Z256xxx7 OR CONFIG_DEVICE_ID STREQUAL MKE17Z128xxx7) AND CONFIG_USE_driver_common)
1601
1602target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
1603  ${CMAKE_CURRENT_LIST_DIR}/../../drivers/trgmux/fsl_trgmux.c
1604)
1605
1606target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
1607  ${CMAKE_CURRENT_LIST_DIR}/../../drivers/trgmux/.
1608)
1609
1610else()
1611
1612message(SEND_ERROR "driver_trgmux.MKE17Z7 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
1613
1614endif()
1615
1616endif()
1617
1618
1619if (CONFIG_USE_driver_tsi_v5)
1620# Add set(CONFIG_USE_driver_tsi_v5 true) in config.cmake to use this component
1621
1622message("driver_tsi_v5 component is included from ${CMAKE_CURRENT_LIST_FILE}.")
1623
1624if((CONFIG_DEVICE_ID STREQUAL MKE17Z256xxx7 OR CONFIG_DEVICE_ID STREQUAL MKE17Z128xxx7) AND CONFIG_USE_driver_common)
1625
1626target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
1627  ${CMAKE_CURRENT_LIST_DIR}/../../drivers/tsi/tsi_v5/fsl_tsi_v5.c
1628)
1629
1630target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
1631  ${CMAKE_CURRENT_LIST_DIR}/../../drivers/tsi/tsi_v5/.
1632)
1633
1634else()
1635
1636message(SEND_ERROR "driver_tsi_v5.MKE17Z7 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
1637
1638endif()
1639
1640endif()
1641
1642
1643if (CONFIG_USE_driver_wdog32)
1644# Add set(CONFIG_USE_driver_wdog32 true) in config.cmake to use this component
1645
1646message("driver_wdog32 component is included from ${CMAKE_CURRENT_LIST_FILE}.")
1647
1648if((CONFIG_DEVICE_ID STREQUAL MKE17Z256xxx7 OR CONFIG_DEVICE_ID STREQUAL MKE17Z128xxx7) AND CONFIG_USE_driver_common)
1649
1650target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
1651  ${CMAKE_CURRENT_LIST_DIR}/../../drivers/wdog32/fsl_wdog32.c
1652)
1653
1654target_include_directories(${MCUX_SDK_PROJECT_NAME} PUBLIC
1655  ${CMAKE_CURRENT_LIST_DIR}/../../drivers/wdog32/.
1656)
1657
1658else()
1659
1660message(SEND_ERROR "driver_wdog32.MKE17Z7 dependency does not meet, please check ${CMAKE_CURRENT_LIST_FILE}.")
1661
1662endif()
1663
1664endif()
1665
1666