summaryrefslogtreecommitdiffstats
path: root/newlib/libc/sys/arm/_fault_isr.c
blob: 1272eb56a42f66a7d5bd380566f76a740fc5f63b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#include "newlib.h"

#ifdef _ARM_V7M

/* Called when a hardware fault occurs.  Users can replace this
   function.  */ 

void 
_fault_isr() 
{ 
  /* Sit an endless loop so that the user can analyze the situation
     from the debugger.  */
  while (1);
}

#endif