-
Notifications
You must be signed in to change notification settings - Fork 6.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
drivers: video: Add support for STM32 DCMI
Add Kconfig, DCMI driver, Yaml, and CMakeLists files Signed-off-by: Charles Dias <charlesdias.cd@outlook.com>
- Loading branch information
1 parent
5db2b0c
commit 0a8e77e
Showing
5 changed files
with
652 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# STM32 DCMI driver configuration options | ||
|
||
# Copyright (c) 2024 Charles Dias <charlesdias.cd@outlook.com> | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
DT_STM32_DCMI_HAS_DMA := $(dt_nodelabel_has_prop,dcmi,dmas) | ||
|
||
config VIDEO_STM32_DCMI | ||
bool "STM32 Digital camera interface (DCMI) driver" | ||
default y | ||
depends on DT_HAS_ST_STM32_DCMI_ENABLED | ||
select USE_STM32_HAL_DCMI | ||
select USE_STM32_HAL_MDMA if SOC_SERIES_STM32H7X | ||
select DMA if $(DT_STM32_DCMI_HAS_DMA) | ||
select USE_STM32_HAL_DMA if $(DT_STM32_DCMI_HAS_DMA) | ||
select USE_STM32_HAL_DMA_EX if $(DT_STM32_DCMI_HAS_DMA) | ||
help | ||
Enable driver for STM32 Digital camera interface periheral. | ||
|
||
module = STM32_DCMI | ||
module-str = stm32_dcmi | ||
source "subsys/logging/Kconfig.template.log_config" |
Oops, something went wrong.