summaryrefslogtreecommitdiff
path: root/core/cortex-m0/panic.c
diff options
context:
space:
mode:
Diffstat (limited to 'core/cortex-m0/panic.c')
-rw-r--r--core/cortex-m0/panic.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/core/cortex-m0/panic.c b/core/cortex-m0/panic.c
index f20908eb7c..3714d771a2 100644
--- a/core/cortex-m0/panic.c
+++ b/core/cortex-m0/panic.c
@@ -179,7 +179,6 @@ void exception_panic(void)
"r8", "r9", "r10", "r11", "cc", "memory");
}
-#ifdef CONFIG_SOFTWARE_PANIC
void software_panic(uint32_t reason, uint32_t info)
{
__asm__("mov " STRINGIFY(
@@ -226,7 +225,6 @@ void panic_get_reason(uint32_t *reason, uint32_t *info, uint8_t *exception)
*exception = *reason = *info = 0;
}
}
-#endif
void bus_fault_handler(void)
{