From 7388c270069c2d1418539bca1d2789a6d468ecc2 Mon Sep 17 00:00:00 2001 From: Jacques Comeaux Date: Mon, 20 May 2024 23:19:14 -0500 Subject: Make shared object for setup routines --- assembler/main.s | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 assembler/main.s (limited to 'assembler/main.s') diff --git a/assembler/main.s b/assembler/main.s new file mode 100644 index 0000000..9a7fd89 --- /dev/null +++ b/assembler/main.s @@ -0,0 +1,17 @@ +.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 assemble + movs r0, r6 + bl send_hex + b 1b -- cgit v1.2.3