Skip to content

Fix the missing retrieve error context function call. #12307

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 25, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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