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