20 lines
648 B
Plaintext
20 lines
648 B
Plaintext
# 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 PINCTRL
|
|
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.
|