Skip to content
Snippets Groups Projects
Verified Commit 0f75b615 authored by rahix's avatar rahix
Browse files

feat(pycardium): Return on HardFault


Signed-off-by: default avatarRahix <rahix@rahix.de>
parent 88409854
No related branches found
No related tags found
No related merge requests found
...@@ -56,6 +56,11 @@ int main(void) ...@@ -56,6 +56,11 @@ int main(void)
} }
} }
void HardFault_Handler(void)
{
epic_exit(255);
}
void gc_collect(void) void gc_collect(void)
{ {
void *sp = (void *)__get_MSP(); void *sp = (void *)__get_MSP();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment