Skip to content

Commit 8dafb5a

Browse files
committed
drivers: adc: esp32: enable adc dma on non gdma socs
Enables adc dma on: - esp32 - esp32-s2 Signed-off-by: Marcio Ribeiro <[email protected]>
1 parent 50098b5 commit 8dafb5a

File tree

4 files changed

+245
-118
lines changed

4 files changed

+245
-118
lines changed

drivers/adc/Kconfig.esp32

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,8 @@ if ADC_ESP32
1313

1414
config ADC_ESP32_DMA
1515
bool "ESP32 ADC DMA Support"
16-
depends on DT_HAS_ESPRESSIF_ESP32_GDMA_ENABLED
16+
select DMA if DT_HAS_ESPRESSIF_ESP32_GDMA_ENABLED
1717
help
18-
Enable the ADC DMA mode for ADC instances
19-
that enable dma channels in their device tree node.
18+
Enable the ADC DMA mode
2019

2120
endif

0 commit comments

Comments
 (0)