commit cbccaeed3ea148f27be286115e930bdb67a9df45
parent a7498c2d173c011455b8bfb0b85f00b23eda532a
Author: Matsuda Kenji <info@mtkn.jp>
Date: Fri, 23 Feb 2024 09:15:11 +0900
add todo: move vtor to 0x10000000
Diffstat:
2 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/ex1/boot2.s b/ex1/boot2.s
@@ -13,6 +13,7 @@ setup_xip:
ldr r0, flash_main
ldr r1, m0plus_vtor
+ // TODO: move VTOR to 0x10000000
str r0, [r1, #0] // M0PLUS: VTOR
ldr r1, [r0, #4] // entry point
ldr r0, [r0, #0] // stack pointer
diff --git a/ex2/boot2.s b/ex2/boot2.s
@@ -13,6 +13,7 @@ setup_xip:
ldr r0, flash_main
ldr r1, m0plus_vtor
+ // TODO move VTOR to 0x10000000
str r0, [r1, #0] // M0PLUS: VTOR
ldr r1, [r0, #4] // entry point
ldr r0, [r0, #0] // stack pointer