mirror of
https://github.com/Dasharo/zephyr.git
synced 2026-03-06 14:57:20 -08:00
Move to CMake 3.20.0. At the Toolchain WG it was decided to move to CMake 3.20.0. The main reason for increasing CMake version is better toolchain support. Better toolchain support is added in the following CMake versions: - armclang, CMake 3.15 - Intel oneAPI, CMake 3.20 - IAR, CMake 3.15 and 3.20 Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
.. _stm32_temp_sensor:
STM32 Temperature Sensor
########################
Overview
********
This sample periodically reads temperature from the STM32 Internal
Temperature Sensor and display the results.
Building and Running
********************
In order to run this sample, make sure to enable ``stm32_temp`` node in your
board DT file.
.. zephyr-app-commands::
:zephyr-app: samples/sensor/stm32_temp_sensor
:board: nucleo_f103rb
:goals: build
:compact:
Sample Output
=============
.. code-block:: console
Current temperature: 22.6 °C
Current temperature: 22.8 °C
Current temperature: 23.1 °C