Skip to content

Commit 79cad96

Browse files
gautierg-stcarlescufi
authored andcommitted
boards: arm: nucleo_wba52cg: enable watchdog for nucleo wba52cg
Enable watchdog for Nucleo WBA52CG Signed-off-by: Guillaume Gautier <[email protected]>
1 parent 33e072b commit 79cad96

File tree

3 files changed

+11
-0
lines changed

3 files changed

+11
-0
lines changed

boards/arm/nucleo_wba52cg/doc/nucleo_wba52cg.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,8 @@ The Zephyr nucleo_wba52cg board configuration supports the following hardware fe
175175
+-----------+------------+-------------------------------------+
176176
| ADC | on-chip | adc |
177177
+-----------+------------+-------------------------------------+
178+
| WATCHDOG | on-chip | independent watchdog |
179+
+-----------+------------+-------------------------------------+
178180
| RNG | on-chip | True Random number generator |
179181
+-----------+------------+-------------------------------------+
180182

boards/arm/nucleo_wba52cg/nucleo_wba52cg.dts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,10 @@
4747
};
4848
};
4949

50+
&clk_lsi {
51+
status = "okay";
52+
};
53+
5054
&clk_lse {
5155
status = "okay";
5256
};
@@ -74,6 +78,10 @@
7478
apb7-prescaler = <1>;
7579
};
7680

81+
&iwdg {
82+
status = "okay";
83+
};
84+
7785
&usart1 {
7886
pinctrl-0 = <&usart1_tx_pb12 &usart1_rx_pa8>;
7987
pinctrl-names = "default";

boards/arm/nucleo_wba52cg/nucleo_wba52cg.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ supported:
1010
- i2c
1111
- spi
1212
- adc
13+
- watchdog
1314
- rng
1415
- arduino_gpio
1516
- arduino_i2c

0 commit comments

Comments
 (0)