summaryrefslogtreecommitdiffstats
path: root/boot/project.h
diff options
context:
space:
mode:
Diffstat (limited to 'boot/project.h')
-rw-r--r--boot/project.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/boot/project.h b/boot/project.h
new file mode 100644
index 0000000..5699389
--- /dev/null
+++ b/boot/project.h
@@ -0,0 +1,29 @@
+#include <string.h>
+#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/stm32/pwr.h>
+#include <libopencm3/stm32/syscfg.h>
+#include <libopencm3/stm32/usart.h>
+
+
+#include <libopencm3/cm3/systick.h>
+#include <libopencm3/cm3/scb.h>
+#include <libopencm3/cm3/cortex.h>
+
+#include <libopencm3/usb/usbd.h>
+#include <libopencm3/usb/dfu.h>
+
+#include "pins.h"
+
+#include <id.h>
+
+
+
+#include "prototypes.h"
+extern uint32_t dfu_flag;
+
+
+#define APP_ADDRESS 0x08004000