Skip to content

Commit

Permalink
Merge pull request ARMmbed#12307 from rajkan01/fix_crash_report
Browse files Browse the repository at this point in the history
Fix the missing retrieve error context function call.
  • Loading branch information
adbridge authored Jan 25, 2020
2 parents ceaf562 + f1e1375 commit f469f71
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions platform/source/mbed_sdk_boot.c
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@ int $Sub$$main(void)
#endif
mbed_toolchain_init();
mbed_main();
mbed_error_initialize();
return $Super$$main();
}

Expand Down Expand Up @@ -162,6 +163,7 @@ void software_init_hook(void)
int __wrap_main(void)
{
mbed_main();
mbed_error_initialize();
return __real_main();
}

Expand All @@ -180,6 +182,7 @@ void __mbed_init(void)
mbed_stack_isr_size = (uint32_t)__section_size("CSTACK");

mbed_init();
mbed_error_initialize();
}

#endif
Expand Down

0 comments on commit f469f71

Please sign in to comment.