2022-03-16 19:55:35 +08:00
|
|
|
# STM32 battery sensor configuration options
|
|
|
|
|
|
|
|
# Copyright (c) 2022 STMicroelectronics
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
|
|
|
config STM32_VBAT
|
|
|
|
bool "STM32 Vbat Sensor"
|
2022-07-20 11:41:45 +08:00
|
|
|
default y
|
|
|
|
depends on DT_HAS_ST_STM32_VBAT_ENABLED
|
2024-05-14 18:40:01 +08:00
|
|
|
depends on SOC_FAMILY_STM32 && !SOC_SERIES_STM32F1X
|
|
|
|
select ADC
|
2022-03-16 19:55:35 +08:00
|
|
|
help
|
|
|
|
Enable driver for STM32 Vbat sensor and then also ADC
|