Skip to content

Commit fec126f

Browse files
michaellassfabiobaltieri
authored andcommitted
boards: heltec_wifi_lora32_v2: enable trng0
trng0 refers to the entropy source in the ESP32, as defined in esp32.dtsi. It enables the configuration item ENTROPY_ESP32_RNG and therefore offers an entropy driver, making the use of CONFIG_TEST_RANDOM_GENERATOR unnecessary. This change helps running the esp32_wifi_station sample. Signed-off-by: Michael Laß <[email protected]>
1 parent 9b3a2f1 commit fec126f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

boards/xtensa/heltec_wifi_lora32_v2/heltec_wifi_lora32_v2.dts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,10 @@
7676
status = "okay";
7777
};
7878

79+
&trng0 {
80+
status = "okay";
81+
};
82+
7983
&i2c0 {
8084
status = "okay";
8185
clock-frequency = <I2C_BITRATE_FAST>;

0 commit comments

Comments
 (0)