-
Notifications
You must be signed in to change notification settings - Fork 6.7k
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 <[email protected]>
- Loading branch information
1 parent
4a37fc6
commit 12db860
Showing
5 changed files
with
616 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,18 @@ | ||
# STM32 DCMI driver configuration options | ||
|
||
# Copyright (c) 2024 Charles Dias <[email protected]> | ||
# 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. |
Oops, something went wrong.