Primary Git Repository for the Zephyr Project. Zephyr is a new generation, scalable, optimized, secure RTOS for multiple hardware architectures.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

16 lines
448 B

# 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.