aboutsummaryrefslogtreecommitdiffstats
path: root/fw/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'fw/main.c')
-rw-r--r--fw/main.c26
1 files changed, 26 insertions, 0 deletions
diff --git a/fw/main.c b/fw/main.c
new file mode 100644
index 0000000..cdc3fc2
--- /dev/null
+++ b/fw/main.c
@@ -0,0 +1,26 @@
+#include <xc.h>
+
+#include <stdint.h>
+
+#include "types.h"
+#include "init.h"
+#include "spi.h"
+#include "eeprom.h"
+#include "config.h"
+
+void
+main(void) {
+ clockInit();
+ pinsInit();
+ spiInit();
+ eepromInit();
+
+ for (;;) {
+
+ }
+}
+
+void
+__interrupt() isr(void) {
+
+}