Make interrupt default handler trigger panic mode.
This commit is contained in:
parent
b8b8e19206
commit
e96a710576
@ -36,6 +36,12 @@ void HardFault_Handler(void)
|
||||
while (1);
|
||||
}
|
||||
|
||||
/* Overwrite default handler. Go to panic mode */
|
||||
void __int_default_handler(void)
|
||||
{
|
||||
panic_mode();
|
||||
}
|
||||
|
||||
void panic_mode(void)
|
||||
{
|
||||
static struct safety_memory_boot_status IN_SECTION(.ccm.bss) boot_status;
|
||||
|
Loading…
Reference in New Issue
Block a user