aboutsummaryrefslogtreecommitdiff
path: root/include/libopencm3/usb
diff options
context:
space:
mode:
authorGareth McMullin2011-12-17 14:11:39 +1300
committerGareth McMullin2011-12-17 14:11:39 +1300
commit651917aeb4b76afbb6c4a859e9a7aab4978b5008 (patch)
tree913f0c43ab18c4056eedcabd08822ff6f0b199c6 /include/libopencm3/usb
parentd630d8397236b50ef68653b71348f39c1c48ce0b (diff)
Added USB example for stm32f4.
Moved clock enable for OTG_FS back into applications. This and gpio config are the only differences between f107 and f2xx/f4xx.
Diffstat (limited to 'include/libopencm3/usb')
-rw-r--r--include/libopencm3/usb/usbd.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/libopencm3/usb/usbd.h b/include/libopencm3/usb/usbd.h
index 2340fb0..391c80b 100644
--- a/include/libopencm3/usb/usbd.h
+++ b/include/libopencm3/usb/usbd.h
@@ -25,6 +25,7 @@
typedef struct _usbd_driver usbd_driver;
extern const usbd_driver stm32f103_usb_driver;
extern const usbd_driver stm32f107_usb_driver;
+#define otgfs_usb_driver stm32f107_usb_driver
/* Static buffer for control transactions:
* This is defined as weak in the library, applicaiton