void vApplicationStackOverflowHook( xTaskHandle *pxTask, signed portCHAR *pcTaskName ) { printMessageUponCriticalSystemError("HALTING SYSTEM: Stack overflow by task: "); printMessageUponCriticalSystemError((char*)pcTaskName); printMessageUponCriticalSystemError("\nTry increasing stack memory of this task.\n"); while(1); }
void SysTick_Handler(void) { printMessageUponCriticalSystemError("Sys Tick Fault\n"); while (1) { } }
void IntDefaultHandler(void) { printMessageUponCriticalSystemError("Unexpected ISR Fault\n"); while (1) { } }
void PendSV_Handler(void) { printMessageUponCriticalSystemError("Pend SV Fault\n"); while (1) { } }
void DebugMon_Handler(void) { printMessageUponCriticalSystemError("DebugMon Fault\n"); while (1) { } }
void UsageFault_Handler(void) { printMessageUponCriticalSystemError("Usage Fault\n"); while (1) { } }
void MemManage_Handler(void) { printMessageUponCriticalSystemError("Mem Fault\n"); while (1) { } }
void NMI_Handler(void) { printMessageUponCriticalSystemError("NMI Fault\n"); while (1) { } }
void vApplicationMallocFailedHook( void ) { printMessageUponCriticalSystemError("HALTING SYSTEM: Your system ran out of memory (RAM)!\n"); while(1); }