summaryrefslogtreecommitdiff
path: root/usb/usb.h
diff options
context:
space:
mode:
authorVegard Storheil Eriksen <zyp@jvnv.net>2012-09-20 21:23:37 +0200
committerVegard Storheil Eriksen <zyp@jvnv.net>2012-09-20 21:43:57 +0200
commit89baa2a3f6a301a608507f4bf6cfc741e5e06aac (patch)
tree6adf5943348ff00961d5e6e871b0363498e2c618 /usb/usb.h
parentd2e7c6170752b085bbfed155308511790984ccab (diff)
Added F1 USB driver.
Diffstat (limited to 'usb/usb.h')
-rw-r--r--usb/usb.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/usb/usb.h b/usb/usb.h
index cefacc4..6f2ac5e 100644
--- a/usb/usb.h
+++ b/usb/usb.h
@@ -1,11 +1,17 @@
#ifndef USB_H
#define USB_H
-#if defined(STM32F4)
+#if defined(STM32F1)
+#include "f1_usb.h"
+
+static F1_USB_t USB(0x40005c00, 0x40006000);
+
+#elif defined(STM32F4)
#include "dwc_otg.h"
static DWC_OTG_t OTG_FS(0x50000000);
static DWC_OTG_t OTG_HS(0x40040000);
+
#endif
#endif