1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

cpu/stm32f3: let LD3 blink on hardFault

This commit is contained in:
Hauke Petersen 2014-08-15 10:38:34 +02:00
parent 48eafe9912
commit ea96af4d53

View File

@ -19,7 +19,7 @@
*/
#include <stdint.h>
#include "board.h"
/**
* memory markers as defined in the linker script
@ -109,7 +109,12 @@ void isr_bus_fault(void)
void isr_usage_fault(void)
{
while (1) {asm ("nop");}
while (1) {
for (int i = 0; i < 250000; i++) {
asm ("nop");
}
LD4_TOGGLE;
}
}
/* Cortex-M specific interrupt vectors */