Skip to content

Commit e8c6695

Browse files
wmrsouzajhedberg
authored andcommitted
drivers: adc: esp32: split adc_esp32.c between 2 files
Splits driver source code between adc_esp32.c and adc_esp32_dma.c to improve maintenance Signed-off-by: Marcio Ribeiro <[email protected]>
1 parent a96e18d commit e8c6695

File tree

6 files changed

+545
-512
lines changed

6 files changed

+545
-512
lines changed

drivers/adc/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ zephyr_library_sources_ifdef(CONFIG_ADC_ADS131M02 adc_ads131m02.c)
4343
zephyr_library_sources_ifdef(CONFIG_ADC_RPI_PICO adc_rpi_pico.c)
4444
zephyr_library_sources_ifdef(CONFIG_ADC_XMC4XXX adc_xmc4xxx.c)
4545
zephyr_library_sources_ifdef(CONFIG_ADC_ESP32 adc_esp32.c)
46+
zephyr_library_sources_ifdef(CONFIG_ADC_ESP32_DMA adc_esp32_dma.c)
4647
zephyr_library_sources_ifdef(CONFIG_ADC_GECKO_ADC adc_gecko.c)
4748
zephyr_library_sources_ifdef(CONFIG_ADC_GECKO_IADC iadc_gecko.c)
4849
zephyr_library_sources_ifdef(CONFIG_ADC_SILABS_SIWX91X adc_silabs_siwx91x.c)

0 commit comments

Comments
 (0)