Skip to content

Commit

Permalink
boards: arm: nucleo_f070rb: add support of temperature sensor
Browse files Browse the repository at this point in the history
Add temperature sensor for the Nucleo FO70RB.

Signed-off-by: Guillaume Gautier <[email protected]>
  • Loading branch information
gautierg-st authored and MaureenHelm committed Apr 13, 2023
1 parent e655b69 commit f1abbbe
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions boards/arm/nucleo_f070rb/nucleo_f070rb.dts
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
led0 = &green_led_2;
sw0 = &user_button;
watchdog0 = &iwdg;
die-temp0 = &die_temp;
};
};

Expand Down Expand Up @@ -107,3 +108,13 @@
&iwdg {
status = "okay";
};

&adc1 {
pinctrl-0 = <&adc_in0_pa0>;
pinctrl-names = "default";
status = "okay";
};

&die_temp {
status = "okay";
};

0 comments on commit f1abbbe

Please sign in to comment.