summaryrefslogtreecommitdiffstats
path: root/app/project.h
diff options
context:
space:
mode:
authorfishsoupisgood <github@madingley.org>2019-04-29 07:30:28 +0100
committerfishsoupisgood <github@madingley.org>2019-04-29 07:30:28 +0100
commit259ee0e7022ce15f4f2c8294a4fc3de7005d7fab (patch)
treed284293075d882911c2c6a3e982570a7c8aec7e4 /app/project.h
downloadadapter-259ee0e7022ce15f4f2c8294a4fc3de7005d7fab.tar.gz
adapter-259ee0e7022ce15f4f2c8294a4fc3de7005d7fab.tar.bz2
adapter-259ee0e7022ce15f4f2c8294a4fc3de7005d7fab.zip
working with one set of stripes
Diffstat (limited to 'app/project.h')
-rw-r--r--app/project.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/app/project.h b/app/project.h
new file mode 100644
index 0000000..5731f0d
--- /dev/null
+++ b/app/project.h
@@ -0,0 +1,30 @@
+#include <stdlib.h>
+#include <libopencm3/stm32/rcc.h>
+#include <libopencm3/stm32/gpio.h>
+#include <libopencm3/stm32/usart.h>
+#include <libopencm3/stm32/usb.h>
+#include <libopencm3/stm32/i2c.h>
+#include <libopencm3/cm3/systick.h>
+#include <libopencm3/cm3/nvic.h>
+#include <libopencm3/usb/usbd.h>
+#include <libopencm3/usb/hid.h>
+#include <libopencm3/cm3/cortex.h>
+#include <libopencm3/usb/cdc.h>
+#include <id.h>
+
+#define INCLUDE_DFU_INTERFACE
+
+#ifdef INCLUDE_DFU_INTERFACE
+#include <libopencm3/cm3/scb.h>
+#include <libopencm3/usb/dfu.h>
+#endif
+
+#include <stdio.h>
+#include <errno.h>
+
+#define LED_GPIO GPIO13
+#define LED_BANK GPIOC
+
+#include "ring.h"
+
+#include "prototypes.h"