zephyr/drivers/sensor/st/stm32_vbat
Mathieu Choplain c77d5b8c3b drivers: sensor: stm32_vbat: handle disabled ADCs more gracefully
This commit modifies the STM32 battery voltage sensor driver
to handle erroneous usage more gracefully. More precisely,
it now fails builds with an explicit error message when the
sensor is enabled but the corresponding ADC is not. This can
only happen on STM32 series with more than one ADC (e.g., H7).

Signed-off-by: Mathieu Choplain <mathieu.choplain@st.com>
2024-08-01 16:43:51 +02:00
..
CMakeLists.txt
Kconfig drivers: sensor: st: vbat: check for ADC nodes 2024-05-17 11:39:19 +02:00
stm32_vbat.c drivers: sensor: stm32_vbat: handle disabled ADCs more gracefully 2024-08-01 16:43:51 +02:00