summaryrefslogtreecommitdiff
path: root/nuttx/configs/mcu123-lpc214x/src/Makefile
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-02-02 04:35:35 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-02-02 04:35:35 +0000
commit7c4bd65d939a6db4f855c71b54c4fbc2727086ef (patch)
tree87c1b7fdf1d545097b2d76613a9eb6bba02496f4 /nuttx/configs/mcu123-lpc214x/src/Makefile
parent7fb190093c485279c8c89b53578bb297ab1170e2 (diff)
downloadpx4-nuttx-7c4bd65d939a6db4f855c71b54c4fbc2727086ef.tar.gz
px4-nuttx-7c4bd65d939a6db4f855c71b54c4fbc2727086ef.tar.bz2
px4-nuttx-7c4bd65d939a6db4f855c71b54c4fbc2727086ef.zip
Add David Hewson's corrections to the LPC214x USB device driver; Add LPC214x configuration to test the USB composite device
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4359 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/configs/mcu123-lpc214x/src/Makefile')
-rw-r--r--nuttx/configs/mcu123-lpc214x/src/Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/nuttx/configs/mcu123-lpc214x/src/Makefile b/nuttx/configs/mcu123-lpc214x/src/Makefile
index 93071038b..21838bf39 100644
--- a/nuttx/configs/mcu123-lpc214x/src/Makefile
+++ b/nuttx/configs/mcu123-lpc214x/src/Makefile
@@ -1,8 +1,8 @@
############################################################################
# configs/mcu123-lpc214x/src/Makefile
#
-# Copyright (C) 2007-2010 Gregory Nutt. All rights reserved.
-# Author: Gregory Nutt <spudmonkey@racsa.co.cr>
+# Copyright (C) 2007-2010, 2012 Gregory Nutt. All rights reserved.
+# Author: Gregory Nutt <gnutt@nuttx.org>
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
@@ -48,13 +48,19 @@ endif
ASRCS =
AOBJS = $(ASRCS:.S=$(OBJEXT))
CSRCS = up_spi.c up_leds.c
+
ifeq ($(CONFIG_NSH_ARCHINIT),y)
CSRCS += up_nsh.c
endif
+
ifeq ($(CONFIG_USBMSC),y)
CSRCS += up_usbmsc.c
endif
+ifeq ($(CONFIG_USBDEV_COMPOSITE),y)
+CSRCS += up_composite.c
+endif
+
COBJS = $(CSRCS:.c=$(OBJEXT))
SRCS = $(ASRCS) $(CSRCS)