summaryrefslogtreecommitdiffstats
path: root/src/project.h
diff options
context:
space:
mode:
authorroot <root@lab2.panaceas.james.local>2014-11-02 10:57:51 +0000
committerroot <root@lab2.panaceas.james.local>2014-11-02 10:57:51 +0000
commit38003ce02f2492d1f4e24ec03167db0725cd69ce (patch)
tree21875b447e28fdd418581f938fea8160349460d4 /src/project.h
parent1dc7d758f96dd2b9bd7b03f01ca032d68b696cf0 (diff)
downloadstm32_usb_kvm-38003ce02f2492d1f4e24ec03167db0725cd69ce.tar.gz
stm32_usb_kvm-38003ce02f2492d1f4e24ec03167db0725cd69ce.tar.bz2
stm32_usb_kvm-38003ce02f2492d1f4e24ec03167db0725cd69ce.zip
fish
Diffstat (limited to 'src/project.h')
-rw-r--r--src/project.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/project.h b/src/project.h
new file mode 100644
index 0000000..de86ece
--- /dev/null
+++ b/src/project.h
@@ -0,0 +1,17 @@
+#include <stdlib.h>
+#include <libopencm3/stm32/rcc.h>
+#include <libopencm3/stm32/gpio.h>
+#include <libopencm3/cm3/systick.h>
+#include <libopencm3/usb/usbd.h>
+#include <libopencm3/usb/hid.h>
+
+#define INCLUDE_DFU_INTERFACE
+
+
+#ifdef INCLUDE_DFU_INTERFACE
+#include <libopencm3/cm3/scb.h>
+#include <libopencm3/usb/dfu.h>
+#endif
+
+
+#include "prototypes.h"