aboutsummaryrefslogtreecommitdiff
path: root/hexedit/main.s
diff options
context:
space:
mode:
Diffstat (limited to 'hexedit/main.s')
-rw-r--r--hexedit/main.s16
1 files changed, 16 insertions, 0 deletions
diff --git a/hexedit/main.s b/hexedit/main.s
new file mode 100644
index 0000000..5e294d4
--- /dev/null
+++ b/hexedit/main.s
@@ -0,0 +1,16 @@
+.syntax unified
+.cpu cortex-m0plus
+.thumb
+
+.type main, %function
+.global main
+
+main:
+ bl start_xosc
+ bl setup_clocks
+ bl setup_gpio
+ bl setup_uart
+1:
+ bl uart_recv
+ bl uart_send
+ b 1b