rp2040

RP2040 Programming without SDK
Log | Files | Refs

commit 9927f108e347ca29e5a136179e28864f2170bb7f
parent 02dd374f233fbb363b36ac6cde42183127d367a1
Author: Matsuda Kenji <info@mtkn.jp>
Date:   Sun, 25 Feb 2024 07:47:34 +0900

move vector table

Diffstat:
Mex1/main.s | 10+++++-----
1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/ex1/main.s b/ex1/main.s @@ -1,6 +1,11 @@ .cpu cortex-m0plus .thumb + .global vectors +vectors: + .word 0x20040000 // initial SP + .word (reset+1) // entry point + .section .text reset: // unreset gpio @@ -54,8 +59,3 @@ io_bank0_base: sio_base: .word 0xd0000000 - .align 8 - .global vectors -vectors: - .word 0x20040000 // initial SP - .word (reset+1) // entry point