From 8f6eed4e102500204879d848572547b35a267cea Mon Sep 17 00:00:00 2001 From: Jacques Comeaux Date: Sat, 23 Dec 2023 14:12:08 -0600 Subject: Use crystal oscilator for system clock --- main.s | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 main.s (limited to 'main.s') diff --git a/main.s b/main.s new file mode 100644 index 0000000..eb5c8f9 --- /dev/null +++ b/main.s @@ -0,0 +1,13 @@ +.syntax unified +.cpu cortex-m0plus +.thumb + +.type main, %function +.global main + +main: + bl start_xosc + bl start_pll + bl setup_clocks + bl setup_gpio + b blink -- cgit v1.2.3