boards: arm: nucleo_f767zi: Add support for Hardware RNG

Added / Tested support for RNG on the STM32F767ZI nucleo board.
Updated the SoC defconfig to auto-enable the driver when
ENTROPY_GENERATOR is enabled, and updated the board README.

Signed-off-by: Bilal Wasim <bilalwasim676@gmail.com>
This commit is contained in:
Bilal Wasim 2020-05-18 01:56:44 +05:00 committed by Carles Cufí
commit a2c4d82778
3 changed files with 13 additions and 0 deletions

View file

@ -120,6 +120,8 @@ features:
+-----------+------------+-------------------------------------+
| ADC | on-chip | ADC Controller |
+-----------+------------+-------------------------------------+
| RNG | on-chip | True Random number generator |
+-----------+------------+-------------------------------------+
Other hardware features are not yet supported on this Zephyr port.

View file

@ -108,3 +108,7 @@
&adc1 {
status = "okay";
};
&rng {
status = "okay";
};

View file

@ -11,4 +11,11 @@ config SOC
config NUM_IRQS
default 110
if ENTROPY_GENERATOR
config ENTROPY_STM32_RNG
default y
endif # ENTROPY_GENERATOR
endif # SOC_STM32F767XX