# STM32 temperature sensor configuration options

# Copyright (c) 2021 Eug Krashtan
# SPDX-License-Identifier: Apache-2.0

config STM32_TEMP
	bool "STM32 Temperature Sensor"
	default y
	depends on SOC_FAMILY_STM32
	depends on DT_HAS_ST_STM32_ADC_ENABLED
	depends on DT_HAS_ST_STM32_TEMP_ENABLED || \
		   DT_HAS_ST_STM32_TEMP_CAL_ENABLED || \
		   DT_HAS_ST_STM32C0_TEMP_CAL_ENABLED
	select ADC
	help
	  Enable driver for STM32 temperature sensor.
