aboutsummaryrefslogtreecommitdiffstats
path: root/libmaple/usb
diff options
context:
space:
mode:
Diffstat (limited to 'libmaple/usb')
-rw-r--r--libmaple/usb/usb_config.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/libmaple/usb/usb_config.h b/libmaple/usb/usb_config.h
index 23b49ee..62a6a71 100644
--- a/libmaple/usb/usb_config.h
+++ b/libmaple/usb/usb_config.h
@@ -47,6 +47,12 @@
#define USB_DISC_DEV GPIOB
#define USB_DISC_PIN 8
+#elif defined(BOARD_olimex_stm32_h103)
+
+ #define VCOM_ID_PRODUCT 0x0004
+ #define USB_DISC_DEV GPIOC
+ #define USB_DISC_PIN 11
+
#else
#error ("Sorry! the USB stack relies on LeafLabs board-specific " \