aboutsummaryrefslogtreecommitdiff
path: root/src/types.h
diff options
context:
space:
mode:
authorVictor Mignot <victor@vmignot.fr>2025-07-22 15:14:14 +0200
committerVictor Mignot <victor@vmignot.fr>2025-07-23 15:08:17 +0200
commitf6a2143e22f577abafea5190b242471da6e34896 (patch)
treef2465b65f11a8b9d83c467d4658ffd7257e8b0e9 /src/types.h
downloadnanji-f6a2143e22f577abafea5190b242471da6e34896.tar.gz
cortex-m4f: bootstrap code
Diffstat (limited to 'src/types.h')
-rw-r--r--src/types.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/types.h b/src/types.h
new file mode 100644
index 0000000..2a8b9bb
--- /dev/null
+++ b/src/types.h
@@ -0,0 +1,17 @@
+#ifndef TYPES_H
+#define TYPES_H
+
+/*
+ * Integer types
+ */
+typedef signed char i8;
+typedef unsigned char u8;
+typedef signed short i16;
+typedef unsigned short u16;
+typedef signed int i32;
+typedef unsigned int u32;
+typedef signed long long i64;
+typedef unsigned long long u64;
+typedef u32 hwaddr;
+
+#endif