commit a33c6373643c843aa5cf61081cfc32ab296eae8e
parent 662ac5be23ee6c63c9b358e25d9dc3c2c50ca304
Author: Matsuda Kenji <info@mtkn.jp>
Date: Wed, 28 Feb 2024 08:03:10 +0900
move uart0 unreset after enabling clock_peri
Diffstat:
1 file changed, 0 insertions(+), 3 deletions(-)
diff --git a/ex3/main.s b/ex3/main.s
@@ -28,9 +28,6 @@ reset:
ldr r3, resets_base
ldr r1, atomic_clr
str r0, [r3, r1] // RESETS: RESET
- mov r1, #1
- lsl r1, #22
- bic r0, r1 // uart stays in reset state until clock_peri is enabled
unreset_chk:
ldr r1, [r3, #0x8] // RESETS: RESET_DONE
bic r0, r1