aboutsummaryrefslogtreecommitdiff
path: root/octedit/main.s
diff options
context:
space:
mode:
Diffstat (limited to 'octedit/main.s')
-rw-r--r--octedit/main.s18
1 files changed, 18 insertions, 0 deletions
diff --git a/octedit/main.s b/octedit/main.s
new file mode 100644
index 0000000..6c471ec
--- /dev/null
+++ b/octedit/main.s
@@ -0,0 +1,18 @@
+.syntax unified
+.cpu cortex-m0plus
+.thumb
+
+.section .entry, "ax"
+
+.type main, %function
+.global main
+
+main:
+ bl start_xosc
+ bl setup_clocks
+ bl setup_gpio
+ bl setup_uart
+ b octedit
+
+.section .stage_2_crc
+.word 0x00000000