aboutsummaryrefslogtreecommitdiff
path: root/octedit/main.s
diff options
context:
space:
mode:
authorJacques Comeaux <jacquesrcomeaux@protonmail.com>2024-06-04 19:28:25 -0500
committerJacques Comeaux <jacquesrcomeaux@protonmail.com>2024-06-04 19:28:25 -0500
commitf2f186c3594a922e51abf25b24052c61f833a2bf (patch)
treea4cd5bb88adc8b94582ed40a8a7ad04235a9db69 /octedit/main.s
parentb38a844ed9f6ad17d58db3e143ebc0c858762ec6 (diff)
Rename stage 0 editor
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