1# STM32 temperature sensor configuration options
2
3# Copyright (c) 2021 Eug Krashtan
4# SPDX-License-Identifier: Apache-2.0
5
6config STM32_TEMP
7	bool "STM32 Temperature Sensor"
8	default y
9	depends on SOC_FAMILY_STM32
10	depends on DT_HAS_ST_STM32_ADC_ENABLED
11	depends on DT_HAS_ST_STM32_TEMP_ENABLED || \
12		   DT_HAS_ST_STM32_TEMP_CAL_ENABLED || \
13		   DT_HAS_ST_STM32C0_TEMP_CAL_ENABLED
14	select ADC
15	help
16	  Enable driver for STM32 temperature sensor.
17