diff options
author | Akshay <[email protected]> | 2022-04-10 12:13:40 +0100 |
---|---|---|
committer | Akshay <[email protected]> | 2022-04-10 12:13:40 +0100 |
commit | dc90387ce7d8ba7b607d9c48540bf6d8b560f14d (patch) | |
tree | 4ccb8fa5886b66fa9d480edef74236c27f035e16 /lib/chibios-contrib/ext/mcux-sdk/components/video/camera/device/max9286/driver_camera-device-max9286.cmake |
Diffstat (limited to 'lib/chibios-contrib/ext/mcux-sdk/components/video/camera/device/max9286/driver_camera-device-max9286.cmake')
-rw-r--r-- | lib/chibios-contrib/ext/mcux-sdk/components/video/camera/device/max9286/driver_camera-device-max9286.cmake | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/lib/chibios-contrib/ext/mcux-sdk/components/video/camera/device/max9286/driver_camera-device-max9286.cmake b/lib/chibios-contrib/ext/mcux-sdk/components/video/camera/device/max9286/driver_camera-device-max9286.cmake new file mode 100644 index 000000000..d872b9e3e --- /dev/null +++ b/lib/chibios-contrib/ext/mcux-sdk/components/video/camera/device/max9286/driver_camera-device-max9286.cmake | |||
@@ -0,0 +1,19 @@ | |||
1 | if(NOT DRIVER_CAMERA-DEVICE-MAX9286_INCLUDED) | ||
2 | |||
3 | set(DRIVER_CAMERA-DEVICE-MAX9286_INCLUDED true CACHE BOOL "driver_camera-device-max9286 component is included.") | ||
4 | |||
5 | target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE | ||
6 | ${CMAKE_CURRENT_LIST_DIR}/fsl_max9286.c | ||
7 | ) | ||
8 | |||
9 | target_include_directories(${MCUX_SDK_PROJECT_NAME} PRIVATE | ||
10 | ${CMAKE_CURRENT_LIST_DIR}/. | ||
11 | ) | ||
12 | |||
13 | |||
14 | include(driver_camera-common) | ||
15 | include(driver_video-common) | ||
16 | include(driver_camera-device-common) | ||
17 | include(driver_video-i2c) | ||
18 | |||
19 | endif() \ No newline at end of file | ||