zephyr/samples/drivers/entropy
Kumar Gala 43a7d26603 drivers: entropy: replace CONFIG_ENTROPY_NAME with DT macro
Replace CONFIG_ENTROPY_NAME with DT_CHOSEN_ZEPHYR_ENTROPY_LABEL.  We now
set zephyr,entropy in the chosen node of the device tree to the entropy
device.

This allows us to remove CONFIG_ENTROPY_NAME from dts_fixup.h.  Also
remove any other stale ENTROPY related defines in dts_fixup.h files.

Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
2020-04-13 09:14:21 -05:00
..
src drivers: entropy: replace CONFIG_ENTROPY_NAME with DT macro 2020-04-13 09:14:21 -05:00
CMakeLists.txt
README.txt
prj.conf
sample.yaml

README.txt

Title: Entropy

Description:

Sample for the entropy gathering driver

--------------------------------------------------------------------------------

Building and Running Project:

This project writes an infinite series of random numbers to the
console, 9 per second.

It can be built and executed on frdm_k64f as follows:

    make

Sample Output:

Entropy Example! arm
entropy device is 0x2000008c, name is ENTROPY_0
  0xd7  0x42  0xb0  0x7b  0x56  0x3b  0xc3  0x43  0x8a  0xa3
  0xfa  0xec  0xd8  0xc3  0x36  0xf8  0x7b  0x82  0x2b  0x39