samples: sensors: nucleo_f756zg added to die_temp_polling

Added board overlay file to permit internal temperature sensor testing:

- `nucleo_f756zg`

Signed-off-by: Noah Pendleton <noah.pendleton@gmail.com>
This commit is contained in:
Noah Pendleton 2024-05-24 10:56:18 -04:00 committed by Carles Cufí
commit 3b0a7dedb0

View file

@ -0,0 +1,22 @@
/*
* Copyright (c) 2024 Noah Pendleton
*
* SPDX-License-Identifier: Apache-2.0
*/
/ {
aliases {
die-temp0 = &die_temp;
};
};
&die_temp {
status = "okay";
};
&adc1 {
pinctrl-0 = <&adc1_in0_pa0>;
pinctrl-names = "default";
st,adc-prescaler = <4>;
status = "okay";
};