summaryrefslogtreecommitdiff
path: root/nuttx/configs/stm32f4discovery/src/Makefile
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-08-29 17:41:43 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-08-29 17:41:43 +0000
commit4ab6aa6277637cc6f843576f76e69fbaebcc0bd7 (patch)
treed90f979ad9399dec4b848831cc6a97b81caae3c0 /nuttx/configs/stm32f4discovery/src/Makefile
parentd9124e9c61ffb51027645a4048f3aa24ab91c05d (diff)
downloadpx4-nuttx-4ab6aa6277637cc6f843576f76e69fbaebcc0bd7.tar.gz
px4-nuttx-4ab6aa6277637cc6f843576f76e69fbaebcc0bd7.tar.bz2
px4-nuttx-4ab6aa6277637cc6f843576f76e69fbaebcc0bd7.zip
Add USB host support to the STM32F4Discovery board
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5066 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/configs/stm32f4discovery/src/Makefile')
-rw-r--r--nuttx/configs/stm32f4discovery/src/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/nuttx/configs/stm32f4discovery/src/Makefile b/nuttx/configs/stm32f4discovery/src/Makefile
index c1be57268..97753132a 100644
--- a/nuttx/configs/stm32f4discovery/src/Makefile
+++ b/nuttx/configs/stm32f4discovery/src/Makefile
@@ -56,8 +56,8 @@ ifeq ($(CONFIG_ARCH_BUTTONS),y)
CSRCS += up_buttons.c
endif
-ifeq ($(CONFIG_USBDEV),y)
-CSRCS += up_usbdev.c
+ifeq ($(CONFIG_STM32_OTGFS),y)
+CSRCS += up_usb.c
endif
ifeq ($(CONFIG_PWM),y)
@@ -72,6 +72,10 @@ ifeq ($(CONFIG_WATCHDOG),y)
CSRCS += up_watchdog.c
endif
+ifeq ($(CONFIG_NSH_ARCHINIT),y)
+CSRCS += up_nsh.c
+endif
+
ifeq ($(CONFIG_PM_CUSTOMINIT),y)
CSRCS += up_pm.c
endif