diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-12-22 15:59:50 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-12-22 15:59:50 +0000 |
commit | 5b038d28629472894c07f4efc604c992c9d8264d (patch) | |
tree | 63468d1d6ac45b29fbd91bfc9b9e1d7d6d7b17c0 /nuttx/drivers | |
parent | 0404da840332858afad5ecbfcba1290c191f0078 (diff) | |
download | px4-nuttx-5b038d28629472894c07f4efc604c992c9d8264d.tar.gz px4-nuttx-5b038d28629472894c07f4efc604c992c9d8264d.tar.bz2 px4-nuttx-5b038d28629472894c07f4efc604c992c9d8264d.zip |
Add loopback support to STM32 CAN driver; Add apps/examples/can loopback test
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4213 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/drivers')
-rw-r--r-- | nuttx/drivers/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/nuttx/drivers/Makefile b/nuttx/drivers/Makefile index a6fcbe1f0..4254acac0 100644 --- a/nuttx/drivers/Makefile +++ b/nuttx/drivers/Makefile @@ -65,12 +65,15 @@ include wireless/Make.defs ifneq ($(CONFIG_NFILE_DESCRIPTORS),0) CSRCS += dev_null.c dev_zero.c loop.c + ifneq ($(CONFIG_DISABLE_MOUNTPOINT),y) CSRCS += ramdisk.c rwbuffer.c endif -ifneq ($(CONFIG_CAN),y) + +ifeq ($(CONFIG_CAN),y) CSRCS += can.c endif + ifeq ($(CONFIG_PWM),y) CSRCS += pwm.c endif |