zephyr/drivers/sensor/stm32_vref/Kconfig
Francois Ramu 1204b18aa3 drivers: sensor: stm32 vref sensor depends on ADC
Set the CONFIG_STM32_VREF depending on the ADC,
like the CONFIG_STM32_VBAT does

Signed-off-by: Francois Ramu <francois.ramu@st.com>
2023-10-11 11:17:51 +01:00

13 lines
341 B
Plaintext

# STM32 vref sensor configuration options
# Copyright (c) 2023 Kenneth J. Miller <ken@miller.ec>
# SPDX-License-Identifier: Apache-2.0
config STM32_VREF
bool "STM32 VREF Sensor"
default y
depends on DT_HAS_ST_STM32_VREF_ENABLED
depends on ADC && (SOC_FAMILY_STM32 && !SOC_SERIES_STM32F1X)
help
Enable driver for STM32 Vref sensor.