Skip to content

Commit 3003a17

Browse files
committed
fixup! error: use __INITIAL_SP from cmsis instead of RTX one
1 parent f617643 commit 3003a17

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

platform/source/mbed_error.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,8 @@ static mbed_error_status_t handle_error(mbed_error_status_t error_status, unsign
6767
static bool is_reboot_error_valid = false;
6868
#endif
6969

70+
extern uint32_t __INITIAL_SP;
71+
7072
//Helper function to halt the system
7173
static MBED_NORETURN void mbed_halt_system(void)
7274
{

0 commit comments

Comments
 (0)