aboutsummaryrefslogtreecommitdiff
path: root/nuttx/drivers
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-09-29 20:34:25 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-09-29 20:34:25 +0000
commit96a334a758bbdc466ba8ae0cb20f2f79958623ec (patch)
tree30c5dcd88c8d3a48442681bf495501d0b092d264 /nuttx/drivers
parent253d3ab52353d640f11a95a148105d04d96a1d29 (diff)
downloadpx4-firmware-96a334a758bbdc466ba8ae0cb20f2f79958623ec.tar.gz
px4-firmware-96a334a758bbdc466ba8ae0cb20f2f79958623ec.tar.bz2
px4-firmware-96a334a758bbdc466ba8ae0cb20f2f79958623ec.zip
Implementation of /dev/random using the STM32 Random Number Generator (RNG)
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5207 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/drivers')
-rw-r--r--nuttx/drivers/Kconfig8
1 files changed, 8 insertions, 0 deletions
diff --git a/nuttx/drivers/Kconfig b/nuttx/drivers/Kconfig
index ea218a592..1d263ec14 100644
--- a/nuttx/drivers/Kconfig
+++ b/nuttx/drivers/Kconfig
@@ -11,6 +11,14 @@ config DEV_ZERO
bool "Enable /dev/zero"
default n
+config ARCH_HAVE_RNG
+ bool
+
+config DEV_RANDOM
+ bool "Enable /dev/random"
+ default n
+ depends on ARCH_HAVE_RNG
+
config LOOP
bool "Enable loop device"
default n