diff options
Diffstat (limited to 'newlib')
-rw-r--r-- | newlib/libc/sys/arm/_fault_isr.c | 6 | ||||
-rw-r--r-- | newlib/libc/sys/arm/_nmi_isr.c | 6 |
2 files changed, 2 insertions, 10 deletions
diff --git a/newlib/libc/sys/arm/_fault_isr.c b/newlib/libc/sys/arm/_fault_isr.c index 1272eb56a..f0fc81aed 100644 --- a/newlib/libc/sys/arm/_fault_isr.c +++ b/newlib/libc/sys/arm/_fault_isr.c @@ -1,16 +1,12 @@ #include "newlib.h" -#ifdef _ARM_V7M - /* Called when a hardware fault occurs. Users can replace this function. */ -void +void _fault_isr() { /* Sit an endless loop so that the user can analyze the situation from the debugger. */ while (1); } - -#endif diff --git a/newlib/libc/sys/arm/_nmi_isr.c b/newlib/libc/sys/arm/_nmi_isr.c index 81b60ea13..8ff389bdf 100644 --- a/newlib/libc/sys/arm/_nmi_isr.c +++ b/newlib/libc/sys/arm/_nmi_isr.c @@ -1,16 +1,12 @@ #include "newlib.h" -#ifdef _ARM_V7M - /* Called when a non-maskable interrupt occurs. Users can replace this function. */ -void +void _nmi_isr() { /* Sit an endless loop so that the user can analyze the situation from the debugger. */ while (1); } - -#endif |