summaryrefslogtreecommitdiffstats
path: root/newlib/libc/sys/arm/_nmi_isr.c
blob: 81b60ea13f9c81e84aa5246b803e7eba166dd7ae (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 non-maskable interrupt occurs.  Users can replace this
   function.  */ 

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

#endif