1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 12:52:44 +01:00

cpu/stm32f0: fixed hardfault indication

This commit is contained in:
Hauke Petersen 2014-09-25 18:50:30 +02:00
parent 1c150cee18
commit 15b9df8975

View File

@ -99,7 +99,12 @@ void isr_debug_mon(void)
void isr_hard_fault(void)
{
while (1) {asm ("nop");}
while (1) {
for (int i = 0; i < 250000; i++) {
asm ("nop");
}
LED_RED_TOGGLE;
}
}
void isr_bus_fault(void)
@ -109,12 +114,7 @@ void isr_bus_fault(void)
void isr_usage_fault(void)
{
while (1) {
for (int i = 0; i < 250000; i++) {
asm ("nop");
}
LD4_TOGGLE;
}
while (1) {asm ("nop");}
}
/* Cortex-M specific interrupt vectors */