USB device stack

Dependents:   mbed-mX-USB-TEST1 USBMSD_SD_HID_HelloWorld HidTest MIDI_usb_bridge ... more

Legacy Warning

This is an mbed 2 library. To learn more about mbed OS 5, visit the docs.

Pull requests against this repository are no longer supported. Please raise against mbed OS 5 as documented above.

Files at this revision

API Documentation at this revision

Comitter:
mbed_official
Date:
Tue May 19 08:00:55 2015 +0100
Parent:
52:fb344268a308
Child:
54:461d954eee6b
Commit message:
Synchronized with git revision d2cab9778fbc4229fed9561c199f206fe1a43a98

Full URL: https://github.com/mbedmicro/mbed/commit/d2cab9778fbc4229fed9561c199f206fe1a43a98/

Tools: Added support for testing of multiple targets of the same type (board type)

Changed in this revision

USBDevice/USBHAL_STM32F4.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/USBDevice/USBHAL_STM32F4.cpp	Thu Apr 30 13:01:04 2015 +0100
+++ b/USBDevice/USBHAL_STM32F4.cpp	Tue May 19 08:00:55 2015 +0100
@@ -48,7 +48,7 @@
     // Enable power and clocking
     RCC->AHB1ENR |= RCC_AHB1ENR_GPIOAEN;
 
-#if defined(TARGET_STM32F407VG) || defined(TARGET_STM32F401RE) || defined(TARGET_STM32F411RE)
+#if defined(TARGET_STM32F407VG) || defined(TARGET_STM32F401RE) || defined(TARGET_STM32F411RE) || defined(TARGET_STM32F429ZI)
     pin_function(PA_8, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_NOPULL, GPIO_AF10_OTG_FS));
     pin_function(PA_9, STM_PIN_DATA(STM_MODE_INPUT, GPIO_PULLDOWN, GPIO_AF10_OTG_FS));
     pin_function(PA_10, STM_PIN_DATA(STM_MODE_AF_OD, GPIO_PULLUP, GPIO_AF10_OTG_FS));