File tree Expand file tree Collapse file tree 3 files changed +1262
-1
lines changed Expand file tree Collapse file tree 3 files changed +1262
-1
lines changed Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ zephyr_library_sources_ifdef(CONFIG_ADC_NRFX_SAADC adc_nrfx_saadc.c)
1919zephyr_library_sources_ifdef(CONFIG_ADC_SAM adc_sam.c)
2020zephyr_library_sources_ifdef(CONFIG_ADC_SAM0 adc_sam0.c)
2121zephyr_library_sources_ifdef(CONFIG_ADC_STM32 adc_stm32.c)
22+ zephyr_library_sources_ifdef(CONFIG_ADC_STM32WB0 adc_stm32wb0.c)
2223zephyr_library_sources_ifdef(CONFIG_ADC_XEC adc_mchp_xec.c)
2324zephyr_library_sources_ifdef(CONFIG_ADC_LMP90XXX adc_lmp90xxx.c)
2425zephyr_library_sources_ifdef(CONFIG_ADC_MCP320X adc_mcp320x.c)
Original file line number Diff line number Diff line change 55# Copyright (c) 2019 Song Qiang <
[email protected] >
66# Copyright (c) 2021 Marius Scholtz, RIC Electronics
77# Copyright (c) 2022 Hein Wessels, Nobleo Technology
8+ # Copyright (c) 2024 STMicroelectronics
89# SPDX-License-Identifier: Apache-2.0
910
1011config ADC_STM32
@@ -15,7 +16,15 @@ config ADC_STM32
1516 help
1617 Enable the driver implementation for the stm32xx ADC
1718
18- if ADC_STM32
19+ config ADC_STM32WB0
20+ bool "STM32WB0 ADC driver"
21+ default y
22+ depends on DT_HAS_ST_STM32WB0_ADC_ENABLED
23+ select PINCTRL
24+ help
25+ Enable the driver implementation for the STM32WB0 series ADC
26+
27+ if ADC_STM32 || ADC_STM32WB0
1928
2029config ADC_STM32_DMA
2130 bool "STM32 MCU ADC DMA Support"
You can’t perform that action at this time.
0 commit comments