rp2040/example/boot2/boot2_pre.S

18 lines
294 B
ArmAsm

.syntax unified
.cpu cortex-m0plus
.thumb
.global boot2_pre
.section .text.boot2_pre
.type boot2_pre, %function
boot2_pre:
ldr r0, =_stack_top
msr msp, r0
bl boot2_copy_self
bl main
.word 0x11223344
.word 0xabcdef58
.size .boot2_pre, .-boot2_pre