1# STM32 battery sensor configuration options 2 3# Copyright (c) 2022 STMicroelectronics 4# SPDX-License-Identifier: Apache-2.0 5 6config STM32_VBAT 7 bool "STM32 Vbat Sensor" 8 default y 9 depends on DT_HAS_ST_STM32_VBAT_ENABLED 10 depends on DT_HAS_ST_STM32_ADC_ENABLED 11 depends on SOC_FAMILY_STM32 && !SOC_SERIES_STM32F1X 12 select ADC 13 help 14 Enable driver for STM32 Vbat sensor and then also ADC 15