summaryrefslogtreecommitdiff
path: root/nuttx/arch/arm/src/stm32/Make.defs
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-08-15 17:58:54 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-08-15 17:58:54 +0000
commit165225fde2020b456e0f84e019eba21f6acb3129 (patch)
treec4b6b6cd353d5f26b5a944e52be46c57dd89542c /nuttx/arch/arm/src/stm32/Make.defs
parentc921d802cf0afe28a574157c1a66c1aebf280d3d (diff)
downloadpx4-nuttx-165225fde2020b456e0f84e019eba21f6acb3129.tar.gz
px4-nuttx-165225fde2020b456e0f84e019eba21f6acb3129.tar.bz2
px4-nuttx-165225fde2020b456e0f84e019eba21f6acb3129.zip
Some repartitioning of STM32 functionality to better support a USB host driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5028 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, 6 insertions, 0 deletions
diff --git a/nuttx/arch/arm/src/stm32/Make.defs b/nuttx/arch/arm/src/stm32/Make.defs
index 9cdf1314e..24af16c95 100644
--- a/nuttx/arch/arm/src/stm32/Make.defs
+++ b/nuttx/arch/arm/src/stm32/Make.defs
@@ -76,6 +76,12 @@ CMN_CSRCS += stm32_otgfsdev.c
endif
endif
+ifeq ($(CONFIG_USBHOST),y)
+ifeq ($(CONFIG_STM32_OTGFS),y)
+CMN_CSRCS += stm32_otgfshost.c
+endif
+endif
+
ifeq ($(CONFIG_ARMV7M_CMNVECTOR),y)
CHIP_ASRCS += stm32_vectors.S
endif