Skip to content

Commit dea03d4

Browse files
ikmdanicfriedt
authored andcommitted
boards/arm: nucleo_f207zg: Enabling true rng (Random Number Generator)
This commit enables true rng for nucleo_f207zg platform. This has been tested with tests/drivers/entropy/api and is working as expected. Signed-off-by: Krishna Mohan Dani <[email protected]>
1 parent 23e551f commit dea03d4

File tree

3 files changed

+7
-0
lines changed

3 files changed

+7
-0
lines changed

boards/arm/nucleo_f207zg/doc/index.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,8 @@ The Zephyr nucleo_207zg board configuration supports the following hardware feat
102102
+-------------+------------+-------------------------------------+
103103
| PWM | on-chip | PWM |
104104
+-------------+------------+-------------------------------------+
105+
| RNG | on-chip | Random Number Generator |
106+
+-------------+------------+-------------------------------------+
105107

106108
Other hardware features are not yet supported on this Zephyr port.
107109

boards/arm/nucleo_f207zg/nucleo_f207zg.dts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,10 @@
112112
status = "okay";
113113
};
114114

115+
&rng {
116+
status = "okay";
117+
};
118+
115119
&adc1 {
116120
pinctrl-0 = <&adc1_in0_pa0>;
117121
status = "okay";

boards/arm/nucleo_f207zg/nucleo_f207zg.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,4 @@ supported:
2222
- dac
2323
- backup_sram
2424
- pwm
25+
- rng

0 commit comments

Comments
 (0)