forked from zephyrproject-rtos/zephyr
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathKconfig.stm32
36 lines (30 loc) · 920 Bytes
/
Kconfig.stm32
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# ADC configuration options
# Copyright (c) 2019 Intel Corporation
# Copyright (c) 2019 Endre Karlson
# Copyright (c) 2019 Song Qiang <songqiang1304521@gmail.com>
# Copyright (c) 2021 Marius Scholtz, RIC Electronics
# Copyright (c) 2022 Hein Wessels, Nobleo Technology
# Copyright (c) 2024 STMicroelectronics
# SPDX-License-Identifier: Apache-2.0
config ADC_STM32
bool "STM32 ADC driver"
default y
depends on DT_HAS_ST_STM32_ADC_ENABLED
select PINCTRL
help
Enable the driver implementation for the stm32xx ADC
config ADC_STM32WB0
bool "STM32WB0 ADC driver"
default y
depends on DT_HAS_ST_STM32WB0_ADC_ENABLED
select PINCTRL
help
Enable the driver implementation for the STM32WB0 series ADC
if ADC_STM32 || ADC_STM32WB0
config ADC_STM32_DMA
bool "STM32 MCU ADC DMA Support"
select DMA
help
Enable the ADC DMA mode for ADC instances
that enable dma channels in their device tree node.
endif