fix(embed/core): fix stack protection on STM32U5

[no changelog]
tychovrahe/coresplit/merged
cepetr 1 month ago
parent 8d3b0cc86e
commit 03e2921978

@ -7,7 +7,7 @@
reset_handler:
// set the stack protection
ldr r0, =_sstack
add r0, r0, #16 // padding
add r0, r0, #128 // safety margin for the exception frame
msr MSPLIM, r0
bl SystemInit

@ -7,7 +7,7 @@
reset_handler:
// set the stack protection
ldr r0, =_sstack
add r0, r0, #16 // padding
add r0, r0, #128 // safety margin for the exception frame
msr MSPLIM, r0
// setup environment for subsequent stage of code

@ -7,7 +7,7 @@
reset_handler:
// set the stack protection
ldr r0, =_sstack
add r0, r0, #16 // padding
add r0, r0, #128 // safety margin for the exception frame
msr MSPLIM, r0
// setup environment for subsequent stage of code

@ -7,7 +7,7 @@
reset_handler:
// set the stack protection
ldr r0, =_sstack
add r0, r0, #16 // padding
add r0, r0, #128 // safety margin for the exception frame
msr MSPLIM, r0
// setup environment for subsequent stage of code

@ -7,7 +7,7 @@
reset_handler:
// set the stack protection
ldr r0, =_sstack
add r0, r0, #16 // padding
add r0, r0, #128 // safety margin for the exception frame
msr MSPLIM, r0
// setup environment for subsequent stage of code

@ -7,7 +7,7 @@
reset_handler:
// set the stack protection
ldr r0, =_sstack
add r0, r0, #16 // padding
add r0, r0, #128 // safety margin for the exception frame
msr MSPLIM, r0
// setup environment for subsequent stage of code

Loading…
Cancel
Save