summaryrefslogtreecommitdiff
path: root/include/fe_global.h
diff options
context:
space:
mode:
authorjaseg <git-bigdata-wsl-arch@jaseg.de>2020-10-12 20:15:41 +0200
committerjaseg <git-bigdata-wsl-arch@jaseg.de>2020-10-12 20:15:41 +0200
commite16ec19e3a445c1156c990ed71628fb183332be9 (patch)
treeaf95b48f15f35665342f5aba76625df3849927d2 /include/fe_global.h
downloadfenris-e16ec19e3a445c1156c990ed71628fb183332be9.tar.gz
fenris-e16ec19e3a445c1156c990ed71628fb183332be9.tar.bz2
fenris-e16ec19e3a445c1156c990ed71628fb183332be9.zip
Initial commitHEADmaster
Diffstat (limited to 'include/fe_global.h')
-rw-r--r--include/fe_global.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/include/fe_global.h b/include/fe_global.h
new file mode 100644
index 0000000..78a269f
--- /dev/null
+++ b/include/fe_global.h
@@ -0,0 +1,19 @@
+#ifndef __FE_GLOBAL_H__
+#define __FE_GLOBAL_H__
+
+#include <stdint.h>
+#include <stdbool.h>
+#include <assert.h>
+#include <sys/types.h>
+
+#include <stm32f302x8.h>
+
+#define UNUSED(x) ((void) x)
+#define ARRAY_LENGTH(x) (sizeof(x) / sizeof(x[0]))
+#define unused_a __attribute__((unused))
+
+extern uint64_t sys_time_millis;
+
+void __libc_init_array(void);
+
+#endif /* __FE_GLOBAL_H__ */