summaryrefslogtreecommitdiffstats
path: root/boot/project.h
diff options
context:
space:
mode:
authorroot <root@ka-ata-killa.ourano.james.local>2021-03-06 18:19:33 +0000
committerroot <root@ka-ata-killa.ourano.james.local>2021-03-06 18:23:04 +0000
commit03486e52a2dde8ade759f36fea8b403b6524451c (patch)
treedc54d6ff9797340d83e159b596fd80cc1f2826c6 /boot/project.h
parentf519bbe55f6917d86af6bb4946dfef073175d8f3 (diff)
downloadclock-03486e52a2dde8ade759f36fea8b403b6524451c.tar.gz
clock-03486e52a2dde8ade759f36fea8b403b6524451c.tar.bz2
clock-03486e52a2dde8ade759f36fea8b403b6524451c.zip
pull a new libopencm3 in the hope it fixes tim's usb problems
Diffstat (limited to 'boot/project.h')
-rw-r--r--boot/project.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/boot/project.h b/boot/project.h
index 5699389..4c3a92c 100644
--- a/boot/project.h
+++ b/boot/project.h
@@ -2,8 +2,8 @@
#include <libopencm3/stm32/rcc.h>
#include <libopencm3/stm32/gpio.h>
#include <libopencm3/stm32/flash.h>
-#include <libopencm3/stm32/otg_common.h>
-#include <libopencm3/stm32/otg_fs.h>
+#include <libopencm3/usb/dwc/otg_common.h>
+#include <libopencm3/usb/dwc/otg_fs.h>
#include <libopencm3/stm32/pwr.h>
#include <libopencm3/stm32/syscfg.h>
#include <libopencm3/stm32/usart.h>
@@ -27,3 +27,5 @@ extern uint32_t dfu_flag;
#define APP_ADDRESS 0x08004000
+
+typedef struct rcc_clock_scale clock_scale_t;