diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-08-30 18:18:47 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-08-30 18:18:47 +0000 |
commit | f9d19788072090be80b71ab0d0de14507a6e739b (patch) | |
tree | f7dfca660fab0bed8af87f1a97ee43354bd97eac /nuttx/configs/stm32f4discovery | |
parent | 7b13fdf0152c49dc131313a795c373de3b5af50d (diff) | |
download | px4-nuttx-f9d19788072090be80b71ab0d0de14507a6e739b.tar.gz px4-nuttx-f9d19788072090be80b71ab0d0de14507a6e739b.tar.bz2 px4-nuttx-f9d19788072090be80b71ab0d0de14507a6e739b.zip |
Add USB host support for the STM3240G-EVAL board
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5069 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/configs/stm32f4discovery')
-rw-r--r-- | nuttx/configs/stm32f4discovery/nsh/defconfig | 2 | ||||
-rw-r--r-- | nuttx/configs/stm32f4discovery/nxlines/defconfig | 2 | ||||
-rw-r--r-- | nuttx/configs/stm32f4discovery/ostest/defconfig | 2 | ||||
-rw-r--r-- | nuttx/configs/stm32f4discovery/pm/defconfig | 2 | ||||
-rw-r--r-- | nuttx/configs/stm32f4discovery/src/up_usb.c | 2 |
5 files changed, 2 insertions, 8 deletions
diff --git a/nuttx/configs/stm32f4discovery/nsh/defconfig b/nuttx/configs/stm32f4discovery/nsh/defconfig index 01b4e89ed..16c9ea649 100644 --- a/nuttx/configs/stm32f4discovery/nsh/defconfig +++ b/nuttx/configs/stm32f4discovery/nsh/defconfig @@ -460,8 +460,6 @@ CONFIG_USBDEV_TRACE_NRECORDS=128 # # STM32 USB OTG FS Host Configuration # -# Pre-requisites -# CONFIG_USBHOST=n #CONFIG_STM32_OTGFS_RXFIFO_SIZE #CONFIG_STM32_OTGFS_NPTXFIFO_SIZE diff --git a/nuttx/configs/stm32f4discovery/nxlines/defconfig b/nuttx/configs/stm32f4discovery/nxlines/defconfig index acb289df8..4c34a26a7 100644 --- a/nuttx/configs/stm32f4discovery/nxlines/defconfig +++ b/nuttx/configs/stm32f4discovery/nxlines/defconfig @@ -460,8 +460,6 @@ CONFIG_USBDEV_TRACE_NRECORDS=128 # # STM32 USB OTG FS Host Configuration # -# Pre-requisites -# CONFIG_USBHOST=n #CONFIG_STM32_OTGFS_RXFIFO_SIZE #CONFIG_STM32_OTGFS_NPTXFIFO_SIZE diff --git a/nuttx/configs/stm32f4discovery/ostest/defconfig b/nuttx/configs/stm32f4discovery/ostest/defconfig index 2c3f9866d..094a1c485 100644 --- a/nuttx/configs/stm32f4discovery/ostest/defconfig +++ b/nuttx/configs/stm32f4discovery/ostest/defconfig @@ -418,8 +418,6 @@ CONFIG_USBDEV_TRACE_NRECORDS=128 # # STM32 USB OTG FS Host Configuration # -# Pre-requisites -# CONFIG_USBHOST=n #CONFIG_STM32_OTGFS_RXFIFO_SIZE #CONFIG_STM32_OTGFS_NPTXFIFO_SIZE diff --git a/nuttx/configs/stm32f4discovery/pm/defconfig b/nuttx/configs/stm32f4discovery/pm/defconfig index 338baf585..8d469b4c7 100644 --- a/nuttx/configs/stm32f4discovery/pm/defconfig +++ b/nuttx/configs/stm32f4discovery/pm/defconfig @@ -479,8 +479,6 @@ CONFIG_USBDEV_TRACE_NRECORDS=128 # # STM32 USB OTG FS Host Configuration # -# Pre-requisites -# CONFIG_USBHOST=n #CONFIG_STM32_OTGFS_RXFIFO_SIZE #CONFIG_STM32_OTGFS_NPTXFIFO_SIZE diff --git a/nuttx/configs/stm32f4discovery/src/up_usb.c b/nuttx/configs/stm32f4discovery/src/up_usb.c index d4250bc2f..89fc96006 100644 --- a/nuttx/configs/stm32f4discovery/src/up_usb.c +++ b/nuttx/configs/stm32f4discovery/src/up_usb.c @@ -281,10 +281,12 @@ xcpt_t stm32_setup_overcurrent(xcpt_t handler) * ************************************************************************************/ +#ifdef CONFIG_USBDEV void stm32_usbsuspend(FAR struct usbdev_s *dev, bool resume) { ulldbg("resume: %d\n", resume); } +#endif #endif /* CONFIG_STM32_OTGFS */ |