blob: 604d0ad49edbe9e23c0aab2c464f289975f8f34e [file] [log] [blame]
Marek Matej937ea002022-11-01 21:32:23 +01001# Copyright (c) 2022 Wolter HV <wolterhv@gmx.de>
2#
3# SPDX-License-Identifier: Apache-2.0
4
5config ADC_ESP32
6 bool "ESP32 ADC driver"
7 default y
8 depends on DT_HAS_ESPRESSIF_ESP32_ADC_ENABLED
9 help
10 Enable the driver implementation for the ESP32 ADC
Marcio Ribeiro19d8ade2024-01-18 10:45:38 -030011
12if ADC_ESP32
13
14config ADC_ESP32_DMA
15 bool "ESP32 ADC DMA Support"
16 default n
17 depends on DT_HAS_ESPRESSIF_ESP32_GDMA_ENABLED
18 help
19 Enable the ADC DMA mode for ADC instances
20 that enable dma channels in their device tree node.
21
22endif