samples: sensors: nucleo_h7a3zi_q board added to die_temp_polling

Added board nucleo_h7a3zi_q overlay file to permit testing the STM32
Digital Temperature Sensor.

Also added the board as integration platform to the sample.

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
This commit is contained in:
Aurelien Jarno 2024-05-21 22:12:22 +02:00 committed by Alberto Escolar
commit 460169df75
2 changed files with 18 additions and 0 deletions

View file

@ -0,0 +1,17 @@
/*
* Copyright (c) 2024, Aurelien Jarno
*
* SPDX-License-Identifier: Apache-2.0
*
* Application overlay for creating temperature sensor device instance
*/
/ {
aliases {
die-temp0 = &digi_die_temp;
};
};
&digi_die_temp {
status = "okay";
};

View file

@ -8,6 +8,7 @@ tests:
filter: dt_alias_exists("die-temp0") filter: dt_alias_exists("die-temp0")
integration_platforms: integration_platforms:
- stm32f3_disco - stm32f3_disco
- nucleo_h7a3zi_q
harness: console harness: console
harness_config: harness_config:
type: one_line type: one_line