コード例 #1
0
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);
}
コード例 #2
0
void SysTick_Handler(void)
{
    printMessageUponCriticalSystemError("Sys Tick Fault\n");
    while (1)
    {
    }
}
コード例 #3
0
void IntDefaultHandler(void)
{
    printMessageUponCriticalSystemError("Unexpected ISR Fault\n");
    while (1)
    {
    }
}
コード例 #4
0
void PendSV_Handler(void)
{
    printMessageUponCriticalSystemError("Pend SV Fault\n");
    while (1)
    {
    }
}
コード例 #5
0
void DebugMon_Handler(void)
{
    printMessageUponCriticalSystemError("DebugMon Fault\n");
    while (1)
    {
    }
}
コード例 #6
0
void UsageFault_Handler(void)
{
    printMessageUponCriticalSystemError("Usage Fault\n");
    while (1)
    {
    }
}
コード例 #7
0
void MemManage_Handler(void)
{
    printMessageUponCriticalSystemError("Mem Fault\n");
    while (1)
    {
    }
}
コード例 #8
0
void NMI_Handler(void)
{
    printMessageUponCriticalSystemError("NMI Fault\n");
    while (1)
    {
    }
}
コード例 #9
0
void vApplicationMallocFailedHook( void )
{
    printMessageUponCriticalSystemError("HALTING SYSTEM: Your system ran out of memory (RAM)!\n");
	while(1);
}