summaryrefslogtreecommitdiffstats
path: root/nuttx/configs/stm3240g-eval/src
diff options
context:
space:
mode:
authorpatacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679>2012-04-05 14:12:41 +0000
committerpatacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679>2012-04-05 14:12:41 +0000
commite6d23349d4a1341a36c9ed0555c49e85cfc6f4e4 (patch)
tree3709e951542e610c9c9ed5554e0cc3a70a22996e /nuttx/configs/stm3240g-eval/src
parent09c463d0c9295d3ee1937839303e488dccef4ba5 (diff)
More progress on the STM32 OTG FS device driver
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4558 7fd9a85b-ad96-42d3-883c-3090e2eb8679
Diffstat (limited to 'nuttx/configs/stm3240g-eval/src')
-rw-r--r--nuttx/configs/stm3240g-eval/src/up_usbdev.c20
1 files changed, 1 insertions, 19 deletions
diff --git a/nuttx/configs/stm3240g-eval/src/up_usbdev.c b/nuttx/configs/stm3240g-eval/src/up_usbdev.c
index 1920359a3f..bd7f880b00 100644
--- a/nuttx/configs/stm3240g-eval/src/up_usbdev.c
+++ b/nuttx/configs/stm3240g-eval/src/up_usbdev.c
@@ -79,31 +79,13 @@ void stm32_usbinitialize(void)
/* Configure the OTG FS VBUS sensing GPIO, Power On, and Overcurrent GPIOs */
#ifdef CONFIG_STM32_OTGFS
- stm32_configgpio(GPIO_USB_PULLUP);
+ stm32_configgpio(GPIO_OTGFS_VBUS);
stm32_configgpio(GPIO_OTGFS_PWRON);
stm32_configgpio(GPIO_OTGFS_OVER);
#endif
}
/************************************************************************************
- * Name: stm32_usbpullup
- *
- * Description:
- * If USB is supported and the board supports a pullup via GPIO (for USB software
- * connect and disconnect), then the board software must provide stm32_pullup.
- * See include/nuttx/usb/usbdev.h for additional description of this method.
- * Alternatively, if no pull-up GPIO the following EXTERN can be redefined to be
- * NULL.
- *
- ************************************************************************************/
-
-int stm32_usbpullup(FAR struct usbdev_s *dev, bool enable)
-{
- usbtrace(TRACE_DEVPULLUP, (uint16_t)enable);
- return OK;
-}
-
-/************************************************************************************
* Name: stm32_usbsuspend
*
* Description: