2022-11-02 04:32:23 +08:00
|
|
|
# Copyright (c) 2022 Wolter HV <wolterhv@gmx.de>
|
|
|
|
#
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
|
|
|
config ADC_ESP32
|
|
|
|
bool "ESP32 ADC driver"
|
|
|
|
default y
|
|
|
|
depends on DT_HAS_ESPRESSIF_ESP32_ADC_ENABLED
|
|
|
|
help
|
|
|
|
Enable the driver implementation for the ESP32 ADC
|
2024-01-18 21:45:38 +08:00
|
|
|
|
|
|
|
if ADC_ESP32
|
|
|
|
|
|
|
|
config ADC_ESP32_DMA
|
|
|
|
bool "ESP32 ADC DMA Support"
|
|
|
|
default n
|
|
|
|
depends on DT_HAS_ESPRESSIF_ESP32_GDMA_ENABLED
|
|
|
|
help
|
|
|
|
Enable the ADC DMA mode for ADC instances
|
|
|
|
that enable dma channels in their device tree node.
|
|
|
|
|
|
|
|
endif
|