Skip to content

Commit 5291565

Browse files
FRASTMMaureenHelm
authored andcommitted
boards: arm: stm32g071 add rtc feature on the nucleo board
This patch enables the rtc so that the testcase tests/drivers/counter/counter_basic_api can run on this nucleo_g071rb board also when running sanity check Signed-off-by: Francois Ramu <[email protected]>
1 parent f3c6811 commit 5291565

File tree

3 files changed

+7
-0
lines changed

3 files changed

+7
-0
lines changed

boards/arm/nucleo_g071rb/doc/index.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,8 @@ The Zephyr nucleo_g071rb board configuration supports the following hardware fea
100100
+-----------+------------+-------------------------------------+
101101
| CLOCK | on-chip | reset and clock control |
102102
+-----------+------------+-------------------------------------+
103+
| COUNTER | on-chip | rtc |
104+
+-----------+------------+-------------------------------------+
103105
| WATCHDOG | on-chip | independent watchdog |
104106
+-----------+------------+-------------------------------------+
105107
| PWM | on-chip | pwm |

boards/arm/nucleo_g071rb/nucleo_g071rb.dts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,10 @@
4949
status = "okay";
5050
};
5151

52+
&rtc {
53+
status = "okay";
54+
};
55+
5256
&iwdg {
5357
status = "okay";
5458
};

boards/arm/nucleo_g071rb/nucleo_g071rb.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ supported:
1616
- gpio
1717
- i2c
1818
- spi
19+
- counter
1920
- watchdog
2021
- pwm
2122
- dac

0 commit comments

Comments
 (0)