summaryrefslogtreecommitdiff
path: root/prototype/fw/src/main.c
diff options
context:
space:
mode:
authorjaseg <git@jaseg.de>2020-11-24 19:00:18 +0100
committerjaseg <git@jaseg.de>2020-11-24 19:00:18 +0100
commit0bfd7efaf4256e4c2821f8796781f0d81ad08251 (patch)
treeb9c1e08032ff7b31a70cddc35ed59137db43cc9e /prototype/fw/src/main.c
parent7ab2d94564fdb723eefca576f8043a770f22e1f7 (diff)
downloadihsm-0bfd7efaf4256e4c2821f8796781f0d81ad08251.tar.gz
ihsm-0bfd7efaf4256e4c2821f8796781f0d81ad08251.tar.bz2
ihsm-0bfd7efaf4256e4c2821f8796781f0d81ad08251.zip
Add prototype rotor firmware skeleton
Diffstat (limited to 'prototype/fw/src/main.c')
-rw-r--r--prototype/fw/src/main.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/prototype/fw/src/main.c b/prototype/fw/src/main.c
new file mode 100644
index 0000000..a6b265b
--- /dev/null
+++ b/prototype/fw/src/main.c
@@ -0,0 +1,12 @@
+
+#include <global.h>
+
+int main(void) {
+ while (23) {
+ }
+}
+
+void __libc_init_array (void) __attribute__((weak));
+void __libc_init_array ()
+{
+}