diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2013-10-20 12:16:17 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2013-10-20 12:16:17 -0600 |
commit | 0e1a2c7f156827d1a680b6bfec168a75f38ef848 (patch) | |
tree | adc020d8e52aa5492bec3ca348ab58e97edf7e5e /nuttx/configs | |
parent | 7aa8e49278d649e46a79be8c8d2e609876a39b82 (diff) | |
download | px4-nuttx-0e1a2c7f156827d1a680b6bfec168a75f38ef848.tar.gz px4-nuttx-0e1a2c7f156827d1a680b6bfec168a75f38ef848.tar.bz2 px4-nuttx-0e1a2c7f156827d1a680b6bfec168a75f38ef848.zip |
SAMA5 demo configuration: TRNG and /dev/random are now enabled
Diffstat (limited to 'nuttx/configs')
-rw-r--r-- | nuttx/configs/sama5d3x-ek/README.txt | 9 | ||||
-rw-r--r-- | nuttx/configs/sama5d3x-ek/demo/defconfig | 4 |
2 files changed, 12 insertions, 1 deletions
diff --git a/nuttx/configs/sama5d3x-ek/README.txt b/nuttx/configs/sama5d3x-ek/README.txt index 66109e06e..2a6b52208 100644 --- a/nuttx/configs/sama5d3x-ek/README.txt +++ b/nuttx/configs/sama5d3x-ek/README.txt @@ -1290,6 +1290,15 @@ Configurations nsh> cat /dev/kbda + 10. Support SAMA5D3 TRNG peripheral is enabled so that it provides + /dev/random. The following configuration settings are relevant: + + System Type: + CONFIG_SAMA5_TRNG=y : Enable the TRNG peripheral + + Drivers (automatically selected): + CONFIG_DEV_RANDOM=y : Enable /dev/random + The following features are *not* enabled in the demo configuration but might be of some use to you: diff --git a/nuttx/configs/sama5d3x-ek/demo/defconfig b/nuttx/configs/sama5d3x-ek/demo/defconfig index 912fe21fe..c034cbce8 100644 --- a/nuttx/configs/sama5d3x-ek/demo/defconfig +++ b/nuttx/configs/sama5d3x-ek/demo/defconfig @@ -170,7 +170,7 @@ CONFIG_SAMA5_UDPHS=y # CONFIG_SAMA5_SHA is not set # CONFIG_SAMA5_AES is not set # CONFIG_SAMA5_TDES is not set -# CONFIG_SAMA5_TRNG is not set +CONFIG_SAMA5_TRNG=y # CONFIG_SAMA5_ARM is not set # CONFIG_SAMA5_FUSE is not set CONFIG_SAMA5_MPDDRC=y @@ -385,6 +385,7 @@ CONFIG_PTHREAD_STACK_DEFAULT=2048 CONFIG_DISABLE_POLL=y CONFIG_DEV_NULL=y # CONFIG_DEV_ZERO is not set +CONFIG_DEV_RANDOM=y # CONFIG_LOOP is not set # CONFIG_RAMDISK is not set # CONFIG_CAN is not set @@ -685,6 +686,7 @@ CONFIG_EXAMPLES_NSH_CXXINITIALIZE=y # CONFIG_EXAMPLES_PIPE is not set # CONFIG_EXAMPLES_POSIXSPAWN is not set # CONFIG_EXAMPLES_QENCODER is not set +# CONFIG_EXAMPLES_RANDOM is not set # CONFIG_EXAMPLES_RGMP is not set # CONFIG_EXAMPLES_ROMFS is not set # CONFIG_EXAMPLES_SENDMAIL is not set |