Marek Matej | 937ea00 | 2022-11-01 21:32:23 +0100 | [diff] [blame] | 1 | # Copyright (c) 2022 Wolter HV <wolterhv@gmx.de> |
| 2 | # |
| 3 | # SPDX-License-Identifier: Apache-2.0 |
| 4 | |
| 5 | config 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 Ribeiro | 19d8ade | 2024-01-18 10:45:38 -0300 | [diff] [blame] | 11 | |
| 12 | if ADC_ESP32 |
| 13 | |
| 14 | config 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 | |
| 22 | endif |