fixup! error: use __INITIAL_SP from cmsis instead of RTX one

pull/14624/head
Martin Kojtal 2021-05-10 16:04:02 +01:00
parent f6176432d2
commit 3003a171b2
1 changed files with 2 additions and 0 deletions

View File

@ -67,6 +67,8 @@ static mbed_error_status_t handle_error(mbed_error_status_t error_status, unsign
static bool is_reboot_error_valid = false;
#endif
extern uint32_t __INITIAL_SP;
//Helper function to halt the system
static MBED_NORETURN void mbed_halt_system(void)
{