Skip to content

Commit 2079bdd

Browse files
kristosbLee Jackson
andcommitted
drivers: video: add arducam camera driver
The Arducam mega is a low power, rolling shutter camera, supports connecting one or more cameras to any microcontroller. It provides high-quality image capture and processing capabilities, making it highly suitable for various application fields, including machine vision, image recognition, and robotics, among others. In current implementation connecting multiple instances of the same camera system is problematic. Co-authored-by: Lee Jackson <lee.jackson@arducam.com> Signed-off-by: Krystian Balicki <kristos_b@wp.pl>
1 parent f6a5ba7 commit 2079bdd

File tree

6 files changed

+1411
-0
lines changed

6 files changed

+1411
-0
lines changed

‎drivers/video/CMakeLists.txt‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ zephyr_library_sources(video_ctrls.c)
77
zephyr_library_sources(video_device.c)
88

99
# zephyr-keep-sorted-start
10+
zephyr_library_sources_ifdef(CONFIG_VIDEO_ARDUCAM_MEGA video_arducam_mega.c)
1011
zephyr_library_sources_ifdef(CONFIG_VIDEO_EMUL_IMAGER video_emul_imager.c)
1112
zephyr_library_sources_ifdef(CONFIG_VIDEO_EMUL_RX video_emul_rx.c)
1213
zephyr_library_sources_ifdef(CONFIG_VIDEO_ESP32 video_esp32_dvp.c)

‎drivers/video/Kconfig‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ config VIDEO_ENCODER_JPEG
6565
bool "JPEG video encoder support"
6666

6767
# zephyr-keep-sorted-start
68+
source "drivers/video/Kconfig.arducam_mega"
6869
source "drivers/video/Kconfig.emul_imager"
6970
source "drivers/video/Kconfig.emul_rx"
7071
source "drivers/video/Kconfig.esp32_dvp"

‎drivers/video/Kconfig.arducam_mega‎

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# ARDUCAM_MEGA
2+
3+
# Copyright (c) 2023 Arducam Technology Co., Ltd. <www.arducam.com>
4+
# SPDX-License-Identifier: Apache-2.0
5+
6+
config VIDEO_ARDUCAM_MEGA
7+
bool "Arducam Mega CMOS digital image sensor"
8+
select SPI
9+
depends on DT_HAS_ARDUCAM_MEGA_ENABLED
10+
default y
11+
help
12+
Enable driver for Arducam Mega CMOS digital image sensor device.

0 commit comments

Comments
 (0)