aboutsummaryrefslogtreecommitdiff
path: root/lib/chibios-contrib/ext/mcux-sdk/components/video/camera/receiver/isi/driver_camera-receiver-isi.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chibios-contrib/ext/mcux-sdk/components/video/camera/receiver/isi/driver_camera-receiver-isi.cmake')
-rw-r--r--lib/chibios-contrib/ext/mcux-sdk/components/video/camera/receiver/isi/driver_camera-receiver-isi.cmake25
1 files changed, 25 insertions, 0 deletions
diff --git a/lib/chibios-contrib/ext/mcux-sdk/components/video/camera/receiver/isi/driver_camera-receiver-isi.cmake b/lib/chibios-contrib/ext/mcux-sdk/components/video/camera/receiver/isi/driver_camera-receiver-isi.cmake
new file mode 100644
index 000000000..9832736f4
--- /dev/null
+++ b/lib/chibios-contrib/ext/mcux-sdk/components/video/camera/receiver/isi/driver_camera-receiver-isi.cmake
@@ -0,0 +1,25 @@
1if(NOT DRIVER_CAMERA-RECEIVER-ISI_INCLUDED)
2
3 set(DRIVER_CAMERA-RECEIVER-ISI_INCLUDED true CACHE BOOL "driver_camera-receiver-isi component is included.")
4
5 target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
6 ${CMAKE_CURRENT_LIST_DIR}/fsl_isi_camera_adapter.c
7 )
8
9 target_include_directories(${MCUX_SDK_PROJECT_NAME} PRIVATE
10 ${CMAKE_CURRENT_LIST_DIR}/.
11 )
12
13 #OR Logic component
14 if(${MCUX_DEVICE} STREQUAL "MIMX8QM6_cm4_core1")
15 include(driver_camera-receiver-common)
16 endif()
17 if(${MCUX_DEVICE} STREQUAL "MIMX8QX6")
18 include(driver_camera-receiver-common)
19 endif()
20
21 include(driver_camera-common)
22 include(driver_video-common)
23 include(driver_isi)
24
25endif() \ No newline at end of file