summaryrefslogtreecommitdiff
path: root/nuttx/arch/arm/src/stm32/Make.defs
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
commit948e492aab34e89e3e372066be17eb6a0fbd7ea2 (patch)
tree30c5dcd88c8d3a48442681bf495501d0b092d264 /nuttx/arch/arm/src/stm32/Make.defs
parent57265abd72741dcd33de4f9adae3d42d75f036c4 (diff)
downloadpx4-nuttx-948e492aab34e89e3e372066be17eb6a0fbd7ea2.tar.gz
px4-nuttx-948e492aab34e89e3e372066be17eb6a0fbd7ea2.tar.bz2
px4-nuttx-948e492aab34e89e3e372066be17eb6a0fbd7ea2.zip
Implementation of /dev/random using the STM32 Random Number Generator (RNG)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5207 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/arch/arm/src/stm32/Make.defs')
-rw-r--r--nuttx/arch/arm/src/stm32/Make.defs6
1 files changed, 5 insertions, 1 deletions
diff --git a/nuttx/arch/arm/src/stm32/Make.defs b/nuttx/arch/arm/src/stm32/Make.defs
index e52962977..ef14b48c1 100644
--- a/nuttx/arch/arm/src/stm32/Make.defs
+++ b/nuttx/arch/arm/src/stm32/Make.defs
@@ -78,7 +78,7 @@ endif
ifeq ($(CONFIG_USBHOST),y)
ifeq ($(CONFIG_STM32_OTGFS),y)
-CMN_CSRCS += stm32_otgfshost.c
+CMN_CSRCS += stm32_otgfshost.c
endif
endif
@@ -119,6 +119,10 @@ ifeq ($(CONFIG_DAC),y)
CHIP_CSRCS += stm32_dac.c
endif
+ifeq ($(CONFIG_DEV_RANDOM),y)
+CHIP_CSRCS += stm32_rng.c
+endif
+
ifeq ($(CONFIG_PWM),y)
CHIP_CSRCS += stm32_pwm.c
endif