1list(APPEND CMAKE_MODULE_PATH
2    ${CMAKE_CURRENT_LIST_DIR}/.
3    ${CMAKE_CURRENT_LIST_DIR}/../../CMSIS/Core/Include
4    ${CMAKE_CURRENT_LIST_DIR}/../../CMSIS/DSP
5    ${CMAKE_CURRENT_LIST_DIR}/../../CMSIS/Driver/Include
6    ${CMAKE_CURRENT_LIST_DIR}/../../CMSIS/RTOS2
7    ${CMAKE_CURRENT_LIST_DIR}/../../CMSIS/RTOS2/Include
8    ${CMAKE_CURRENT_LIST_DIR}/../../CMSIS/RTOS2/RTX/Library
9    ${CMAKE_CURRENT_LIST_DIR}/../../boards/evkmimxrt685/flash_config
10    ${CMAKE_CURRENT_LIST_DIR}/../../boards/mimxrt685audevk/flash_config
11    ${CMAKE_CURRENT_LIST_DIR}/../../cmsis_drivers/flexcomm
12    ${CMAKE_CURRENT_LIST_DIR}/../../components/audio
13    ${CMAKE_CURRENT_LIST_DIR}/../../components/button
14    ${CMAKE_CURRENT_LIST_DIR}/../../components/codec
15    ${CMAKE_CURRENT_LIST_DIR}/../../components/codec/cs42448
16    ${CMAKE_CURRENT_LIST_DIR}/../../components/codec/i2c
17    ${CMAKE_CURRENT_LIST_DIR}/../../components/codec/tfa9xxx
18    ${CMAKE_CURRENT_LIST_DIR}/../../components/codec/wm8904
19    ${CMAKE_CURRENT_LIST_DIR}/../../components/common_task
20    ${CMAKE_CURRENT_LIST_DIR}/../../components/flash/mflash
21    ${CMAKE_CURRENT_LIST_DIR}/../../components/flash/mflash/mimxrt685
22    ${CMAKE_CURRENT_LIST_DIR}/../../components/flash/mflash/mimxrt685audevk
23    ${CMAKE_CURRENT_LIST_DIR}/../../components/ft6x06
24    ${CMAKE_CURRENT_LIST_DIR}/../../components/gpio
25    ${CMAKE_CURRENT_LIST_DIR}/../../components/i2c
26    ${CMAKE_CURRENT_LIST_DIR}/../../components/i3c_bus
27    ${CMAKE_CURRENT_LIST_DIR}/../../components/icm42688p
28    ${CMAKE_CURRENT_LIST_DIR}/../../components/ili9341
29    ${CMAKE_CURRENT_LIST_DIR}/../../components/internal_flash
30    ${CMAKE_CURRENT_LIST_DIR}/../../components/lists
31    ${CMAKE_CURRENT_LIST_DIR}/../../components/log
32    ${CMAKE_CURRENT_LIST_DIR}/../../components/mpi_loader
33    ${CMAKE_CURRENT_LIST_DIR}/../../components/osa
34    ${CMAKE_CURRENT_LIST_DIR}/../../components/panic
35    ${CMAKE_CURRENT_LIST_DIR}/../../components/pca9420
36    ${CMAKE_CURRENT_LIST_DIR}/../../components/serial_manager
37    ${CMAKE_CURRENT_LIST_DIR}/../../components/sx1502
38    ${CMAKE_CURRENT_LIST_DIR}/../../components/timer
39    ${CMAKE_CURRENT_LIST_DIR}/../../components/timer_manager
40    ${CMAKE_CURRENT_LIST_DIR}/../../components/uart
41    ${CMAKE_CURRENT_LIST_DIR}/../../components/wifi_bt_module
42    ${CMAKE_CURRENT_LIST_DIR}/../../drivers/acmp
43    ${CMAKE_CURRENT_LIST_DIR}/../../drivers/cache/cache64
44    ${CMAKE_CURRENT_LIST_DIR}/../../drivers/casper
45    ${CMAKE_CURRENT_LIST_DIR}/../../drivers/common
46    ${CMAKE_CURRENT_LIST_DIR}/../../drivers/ctimer
47    ${CMAKE_CURRENT_LIST_DIR}/../../drivers/dmic
48    ${CMAKE_CURRENT_LIST_DIR}/../../drivers/flexcomm
49    ${CMAKE_CURRENT_LIST_DIR}/../../drivers/flexspi
50    ${CMAKE_CURRENT_LIST_DIR}/../../drivers/fmeas
51    ${CMAKE_CURRENT_LIST_DIR}/../../drivers/hashcrypt
52    ${CMAKE_CURRENT_LIST_DIR}/../../drivers/i3c
53    ${CMAKE_CURRENT_LIST_DIR}/../../drivers/inputmux
54    ${CMAKE_CURRENT_LIST_DIR}/../../drivers/lpadc
55    ${CMAKE_CURRENT_LIST_DIR}/../../drivers/lpc_crc
56    ${CMAKE_CURRENT_LIST_DIR}/../../drivers/lpc_dma
57    ${CMAKE_CURRENT_LIST_DIR}/../../drivers/lpc_gpio
58    ${CMAKE_CURRENT_LIST_DIR}/../../drivers/lpc_iopctl
59    ${CMAKE_CURRENT_LIST_DIR}/../../drivers/lpc_rtc
60    ${CMAKE_CURRENT_LIST_DIR}/../../drivers/mrt
61    ${CMAKE_CURRENT_LIST_DIR}/../../drivers/mu
62    ${CMAKE_CURRENT_LIST_DIR}/../../drivers/ostimer
63    ${CMAKE_CURRENT_LIST_DIR}/../../drivers/otfad
64    ${CMAKE_CURRENT_LIST_DIR}/../../drivers/pint
65    ${CMAKE_CURRENT_LIST_DIR}/../../drivers/powerquad
66    ${CMAKE_CURRENT_LIST_DIR}/../../drivers/puf
67    ${CMAKE_CURRENT_LIST_DIR}/../../drivers/sctimer
68    ${CMAKE_CURRENT_LIST_DIR}/../../drivers/sema42
69    ${CMAKE_CURRENT_LIST_DIR}/../../drivers/trng
70    ${CMAKE_CURRENT_LIST_DIR}/../../drivers/usdhc
71    ${CMAKE_CURRENT_LIST_DIR}/../../drivers/utick
72    ${CMAKE_CURRENT_LIST_DIR}/../../drivers/wwdt
73    ${CMAKE_CURRENT_LIST_DIR}/../../../middleware
74    ${CMAKE_CURRENT_LIST_DIR}/../../../components/edgefast_wifi
75    ${CMAKE_CURRENT_LIST_DIR}/../../../middleware/eiq
76    ${CMAKE_CURRENT_LIST_DIR}/../../../middleware/eiq/common/audio
77    ${CMAKE_CURRENT_LIST_DIR}/../../../middleware/eiq/tensorflow-lite
78    ${CMAKE_CURRENT_LIST_DIR}/../../../middleware/eiq/tensorflow-lite/third_party/cmsis
79    ${CMAKE_CURRENT_LIST_DIR}/../../../middleware/fatfs
80    ${CMAKE_CURRENT_LIST_DIR}/../../../middleware/littlefs
81    ${CMAKE_CURRENT_LIST_DIR}/../../../middleware/lwip
82    ${CMAKE_CURRENT_LIST_DIR}/../../../middleware/mbedtls
83    ${CMAKE_CURRENT_LIST_DIR}/../../../middleware/mcuboot_opensource/boot/bootutil
84    ${CMAKE_CURRENT_LIST_DIR}/../../../middleware/multicore
85    ${CMAKE_CURRENT_LIST_DIR}/../../../middleware/sdmmc
86    ${CMAKE_CURRENT_LIST_DIR}/../../../middleware/usb
87    ${CMAKE_CURRENT_LIST_DIR}/../../../middleware/wifi_nxp
88    ${CMAKE_CURRENT_LIST_DIR}/../../../rtos/freertos/freertos-kernel
89    ${CMAKE_CURRENT_LIST_DIR}/../../utilities
90    ${CMAKE_CURRENT_LIST_DIR}/../../utilities/assert
91    ${CMAKE_CURRENT_LIST_DIR}/../../utilities/misc_utilities
92    ${CMAKE_CURRENT_LIST_DIR}/drivers
93    ${CMAKE_CURRENT_LIST_DIR}/utilities
94)
95
96
97# Copy the cmake components into projects
98#    include(middleware_wifi_fwdnld_MIMXRT685S_cm33)
99#    include(driver_ctimer)
100#    include(driver_sema42)
101#    include(component_flexspi_nor_flash_adapter_rt685evk)
102#    include(middleware_lwip_apps_lwiperf)
103#    include(middleware_usb_host_stack_MIMXRT685S_cm33)
104#    include(driver_lpc_gpio)
105#    include(middleware_wifi)
106#    include(component_rt_gpio_adapter)
107#    include(middleware_freertos-kernel_cm33_nonsecure_port)
108#    include(middleware_usb_device_ip3511hs_MIMXRT685S_cm33)
109#    include(component_mflash_common)
110#    include(middleware_multicore_rpmsg_lite_bm)
111#    include(middleware_baremetal)
112#    include(component_cs42448_adapter)
113#    include(component_audio_flexcomm_i2s_dma_adapter)
114#    include(component_mflash_mimxrt685audevk)
115#    include(middleware_sdmmc_host_usdhc)
116#    include(middleware_mcuboot_bootutil)
117#    include(component_log_backend_ringbuffer)
118#    include(driver_flexcomm_usart)
119#    include(driver_i3c)
120#    include(middleware_lwip)
121#    include(driver_sx1502)
122#    include(driver_codec)
123#    include(driver_ostimer)
124#    include(driver_cmsis_flexcomm_i2c)
125#    include(middleware_eiq_deepviewrt_deps_stb)
126#    include(middleware_mbedtls_rt1)
127#    include(middleware_mbedtls_MIMXRT685S_cm33)
128#    include(component_mflash_rt685)
129#    include(driver_inputmux)
130#    include(CMSIS_RTOS2_Common OPTIONAL)
131#    include(driver_flexcomm_i2c)
132#    include(driver_iap)
133#    include(component_serial_manager)
134#    include(middleware_edgefast_wifi_nxp)
135#    include(middleware_usb_device_cdc_external)
136#    include(component_i3c_bus_adapter)
137#    include(component_serial_manager_uart)
138#    include(middleware_mbedtls_port_ksdk)
139#    include(driver_flexcomm_i2s)
140#    include(component_log_backend_debugconsole)
141#    include(driver_flexcomm_spi_dma)
142#    include(driver_flexcomm_spi_freertos)
143#    include(middleware_freertos-kernel_cm33_secure_port)
144#    include(middleware_wifi_common_files)
145#    include(middleware_eiq_tensorflow_lite_micro_cmsis_nn)
146#    include(driver_ili9341)
147#    include(driver_pint)
148#    include(middleware_lwip_contrib_ping)
149#    include(driver_sctimer)
150#    include(middleware_usb_device_common_header)
151#    include(middleware_edgefast_wifi)
152#    include(middleware_lwip_apps_httpsrv)
153#    include(driver_flexcomm)
154#    include(utility_shell)
155#    include(device_startup)
156#    include(driver_power)
157#    include(middleware_eiq_deepviewrt_deps_flatcc)
158#    include(component_panic)
159#    include(driver_lpc_dma)
160#    include(driver_dsp)
161#    include(utility_assert)
162#    include(driver_lpadc)
163#    include(middleware_wifi_wifidriver)
164#    include(driver_wm8904)
165#    include(middleware_freertos-kernel_extension)
166#    include(component_serial_manager_swo)
167#    include(CMSIS_Driver_Include_I2C OPTIONAL)
168#    include(middleware_eiq_audio_evkmimxrt685)
169#    include(middleware_eiq_tensorflow_lite_micro_third_party_cmsis_nn)
170#    include(middleware_usb_common_header)
171#    include(driver_flexcomm_spi)
172#    include(driver_utick)
173#    include(middleware_sdmmc_osa_freertos)
174#    include(component_serial_manager_usb_cdc)
175#    include(driver_clock)
176#    include(device_CMSIS)
177#    include(middleware_multicore_rpmsg_lite_freertos)
178#    include(CMSIS_Driver_Include_Common OPTIONAL)
179#    include(middleware_multicore_erpc_doc)
180#    include(utility_debug_console_lite)
181#    include(middleware_multicore_erpc_common)
182#    include(component_osa_bm)
183#    include(component_codec_i2c_MIMXRT685S_cm33)
184#    include(middleware_usb_host_common_header)
185#    include(middleware_usb_host_cdc)
186#    include(driver_common)
187#    include(driver_cache_cache64)
188#    include(driver_flexspi_dma)
189#    include(middleware_fatfs_MIMXRT685S_cm33)
190#    include(middleware_multicore_rpmsg_lite_mimxrt685audevk_freertos)
191#    include(driver_inputmux_connections)
192#    include(component_osa_free_rtos)
193#    include(middleware_multicore_rpmsg_lite_evkmimxrt685_freertos)
194#    include(middleware_sdmmc_sd)
195#    include(middleware_freertos-kernel_heap_3)
196#    include(CMSIS_Include_core_cm OPTIONAL)
197#    include(middleware_sdmmc_host_usdhc_interrupt_MIMXRT685S_cm33)
198#    include(middleware_freertos-kernel_heap_4)
199#    include(driver_lpc_crc)
200#    include(middleware_wifi_sdio-2)
201#    include(driver_hashcrypt)
202#    include(middleware_sdmmc_sdio)
203#    include(CMSIS_DSP_Source OPTIONAL)
204#    include(middleware_eiq_tensorflow_lite_micro_third_party_gemmlowp)
205#    include(component_usart_adapter)
206#    include(driver_mpi_loader)
207#    include(middleware_usb_host_msd)
208#    include(driver_wwdt)
209#    include(middleware_multicore_rpmsg_lite_MIMXRT685S_cm33)
210#    include(component_mflash_file_MIMXRT685S_cm33)
211#    include(component_log)
212#    include(middleware_multicore_erpc_eRPC_server)
213#    include(CMSIS_Driver_Include_USART OPTIONAL)
214#    include(CMSIS_Driver_Include_SPI OPTIONAL)
215#    include(driver_cmsis_flexcomm_usart)
216#    include(driver_flexcomm_i2s_dma)
217#    include(component_mrt_adapter)
218#    include(middleware_usb_host_printer)
219#    include(middleware_eiq_audio_mimxrt685audevk)
220#    include(middleware_multicore_erpc_eRPC_uart_cmsis_transport)
221#    include(driver_flexcomm_i2c_dma)
222#    include(component_flexcomm_i2c_adapter)
223#    include(utility_assert_lite)
224#    include(middleware_freertos-kernel_MIMXRT685S_cm33)
225#    include(component_wifi_bt_module_tx_pwr_limits)
226#    include(driver_otfad)
227#    include(utility_debug_console)
228#    include(middleware_usb_host_hid)
229#    include(middleware_sdmmc_host_usdhc_polling_MIMXRT685S_cm33)
230#    include(middleware_wifi_cli)
231#    include(driver_flash_config_mimxrt685audevk)
232#    include(component_lpc_gpio_adapter)
233#    include(middleware_sdmmc_osa_bm)
234#    include(driver_cmsis_flexcomm_spi)
235#    include(middleware_multicore_erpc_eRPC_port_stdlib)
236#    include(driver_icm42688p)
237#    include(middleware_usb_device_controller_driver_MIMXRT685S_cm33)
238#    include(driver_puf)
239#    include(driver_tfa9xxx)
240#    include(driver_casper)
241#    include(middleware_usb_phy)
242#    include(CMSIS_DSP_Include OPTIONAL)
243#    include(CMSIS_Device_API_RTOS2 OPTIONAL)
244#    include(middleware_lwip_apps_httpssrv)
245#    include(middleware_fatfs_usb)
246#    include(driver_dmic_dma)
247#    include(middleware_freertos-kernel_mpu_wrappers)
248#    include(driver_lpc_rtc)
249#    include(middleware_sdmmc_common)
250#    include(middleware_fatfs_sd)
251#    include(driver_flexspi)
252#    include(driver_dmic)
253#    include(component_timer_manager)
254#    include(driver_flash_config_evkmimxrt685)
255#    include(component_common_task)
256#    include(middleware_usb_host_video)
257#    include(component_lists)
258#    include(component_i3c_bus)
259#    include(driver_mrt)
260#    include(driver_acmp)
261#    include(CMSIS_RTOS2_NonSecure OPTIONAL)
262#    include(component_osa)
263#    include(driver_fmeas)
264#    include(middleware_sdmmc_host_usdhc_freertos_MIMXRT685S_cm33)
265#    include(middleware_littlefs)
266#    include(middleware_usb_host_ip3516hs_MIMXRT685S_cm33)
267#    include(middleware_wifi_sdio)
268#    include(middleware_freertos-kernel_secure_context)
269#    include(component_i3c_adapter)
270#    include(driver_flexcomm_usart_dma)
271#    include(utilities_misc_utilities_MIMXRT685S_cm33)
272#    include(driver_pca9420)
273#    include(component_tfa9xxx_adapter)
274#    include(component_button_MIMXRT685S_cm33)
275#    include(middleware_multicore_rpmsg_lite_evkmimxrt685_bm)
276#    include(middleware_eiq_tensorflow_lite_micro)
277#    include(driver_cs42448)
278#    include(middleware_eiq_tensorflow_lite_micro_third_party_ruy)
279#    include(driver_flexcomm_i2c_freertos)
280#    include(driver_powerquad_cmsis)
281#    include(middleware_eiq_deepviewrt_deps_json)
282#    include(driver_powerquad)
283#    include(middleware_usb_host_phdc)
284#    include(driver_flexcomm_usart_freertos)
285#    include(middleware_usb_host_audio)
286#    include(middleware_eiq_tensorflow_lite_micro_third_party_flatbuffers)
287#    include(driver_lpc_iopctl)
288#    include(CMSIS_Device_API_OSTick OPTIONAL)
289#    include(middleware_multicore_rpmsg_lite_mimxrt685audevk_bm)
290#    include(driver_trng)
291#    include(driver_usdhc)
292#    include(middleware_eiq_deepviewrt)
293#    include(component_wm8904_adapter)
294#    include(driver_mu)
295#    include(driver_reset)
296#    include(middleware_usb_device_stack_external)
297#    include(driver_ft6x06)
298