summaryrefslogtreecommitdiff
path: root/prototype/fw/include
diff options
context:
space:
mode:
Diffstat (limited to 'prototype/fw/include')
-rw-r--r--prototype/fw/include/global.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/prototype/fw/include/global.h b/prototype/fw/include/global.h
new file mode 100644
index 0000000..138cbc9
--- /dev/null
+++ b/prototype/fw/include/global.h
@@ -0,0 +1,15 @@
+
+#ifndef __GLOBAL_H__
+#define __GLOBAL_H__
+
+#include <stdbool.h>
+#include <stdint.h>
+#include <assert.h>
+#include <string.h>
+
+/* The IRQ header must be included before stm32_device.h since ST defines a bunch of messy macros there. */
+#include <generated/stm32_irqs.h> /* Header generated from stm32***_startup.s in Makefile */
+
+#include <generated/stm32_device.h>
+
+#endif /* __GLOBAL_H__ */