Skip to content

Commit 3587a08

Browse files
committed
Fix nrf52 initial stack pointer in ARMCC
Set the initial stack pointer to the end of ram so it matches INITIAL_SP defined in RTX_CM_lib.h.
1 parent 69bf173 commit 3587a08

File tree

1 file changed

+1
-1
lines changed
  • hal/targets/cmsis/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF52832/TOOLCHAIN_ARM_STD

1 file changed

+1
-1
lines changed

hal/targets/cmsis/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF52832/TOOLCHAIN_ARM_STD/startup_nrf52832.s

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
; POSSIBILITY OF SUCH DAMAGE.
2626
; ---------------------------------------------------------------------------*/
2727

28-
__initial_sp EQU 0x20008000
28+
__initial_sp EQU 0x20010000
2929

3030
PRESERVE8
3131
THUMB

0 commit comments

Comments
 (0)