mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-04-25 07:52:12 -04:00
Correct the prototype of the function call vApplicationStackOverflowHook().
This commit is contained in:
parent
c92a2fe47e
commit
93e72e5036
|
@ -390,7 +390,7 @@ extern void (vButtonISRWrapper) ( void );
|
||||||
}
|
}
|
||||||
/*-----------------------------------------------------------*/
|
/*-----------------------------------------------------------*/
|
||||||
|
|
||||||
void vApplicationStackOverflowHook( xTaskHandle *pxTask, signed char *pcTaskName )
|
void vApplicationStackOverflowHook( xTaskHandle pxTask, signed char *pcTaskName )
|
||||||
{
|
{
|
||||||
/* Check pcTaskName for the name of the offending task, or pxCurrentTCB
|
/* Check pcTaskName for the name of the offending task, or pxCurrentTCB
|
||||||
if pcTaskName has itself been corrupted. */
|
if pcTaskName has itself been corrupted. */
|
||||||
|
|
|
@ -343,7 +343,7 @@ void vApplicationMallocFailedHook( void )
|
||||||
}
|
}
|
||||||
/*-----------------------------------------------------------*/
|
/*-----------------------------------------------------------*/
|
||||||
|
|
||||||
void vApplicationStackOverflowHook( xTaskHandle *pxTask, signed char *pcTaskName )
|
void vApplicationStackOverflowHook( xTaskHandle pxTask, signed char *pcTaskName )
|
||||||
{
|
{
|
||||||
( void ) pcTaskName;
|
( void ) pcTaskName;
|
||||||
( void ) pxTask;
|
( void ) pxTask;
|
||||||
|
|
|
@ -568,7 +568,7 @@ void vApplicationMallocFailedHook( void )
|
||||||
}
|
}
|
||||||
/*-----------------------------------------------------------*/
|
/*-----------------------------------------------------------*/
|
||||||
|
|
||||||
void vApplicationStackOverflowHook( xTaskHandle *pxTask, signed char *pcTaskName )
|
void vApplicationStackOverflowHook( xTaskHandle pxTask, signed char *pcTaskName )
|
||||||
{
|
{
|
||||||
( void ) pcTaskName;
|
( void ) pcTaskName;
|
||||||
( void ) pxTask;
|
( void ) pxTask;
|
||||||
|
|
|
@ -343,7 +343,7 @@ void vApplicationMallocFailedHook( void )
|
||||||
}
|
}
|
||||||
/*-----------------------------------------------------------*/
|
/*-----------------------------------------------------------*/
|
||||||
|
|
||||||
void vApplicationStackOverflowHook( xTaskHandle *pxTask, signed char *pcTaskName )
|
void vApplicationStackOverflowHook( xTaskHandle pxTask, signed char *pcTaskName )
|
||||||
{
|
{
|
||||||
( void ) pcTaskName;
|
( void ) pcTaskName;
|
||||||
( void ) pxTask;
|
( void ) pxTask;
|
||||||
|
|
|
@ -568,7 +568,7 @@ void vApplicationMallocFailedHook( void )
|
||||||
}
|
}
|
||||||
/*-----------------------------------------------------------*/
|
/*-----------------------------------------------------------*/
|
||||||
|
|
||||||
void vApplicationStackOverflowHook( xTaskHandle *pxTask, signed char *pcTaskName )
|
void vApplicationStackOverflowHook( xTaskHandle pxTask, signed char *pcTaskName )
|
||||||
{
|
{
|
||||||
( void ) pcTaskName;
|
( void ) pcTaskName;
|
||||||
( void ) pxTask;
|
( void ) pxTask;
|
||||||
|
|
|
@ -151,7 +151,7 @@ static void prvLCDTask( void *pvParameters );
|
||||||
* Hook functions that can get called by the kernel. The 'check' functionality
|
* Hook functions that can get called by the kernel. The 'check' functionality
|
||||||
* is implemented within the tick hook.
|
* is implemented within the tick hook.
|
||||||
*/
|
*/
|
||||||
void vApplicationStackOverflowHook( xTaskHandle *pxTask, signed char *pcTaskName );
|
void vApplicationStackOverflowHook( xTaskHandle pxTask, signed char *pcTaskName );
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* The tick hook function as described in the comments at the top of this file.
|
* The tick hook function as described in the comments at the top of this file.
|
||||||
|
@ -268,7 +268,7 @@ portBASE_TYPE xHigherPriorityTaskWoken = pdFALSE;
|
||||||
}
|
}
|
||||||
/*-----------------------------------------------------------*/
|
/*-----------------------------------------------------------*/
|
||||||
|
|
||||||
void vApplicationStackOverflowHook( xTaskHandle *pxTask, signed char *pcTaskName )
|
void vApplicationStackOverflowHook( xTaskHandle pxTask, signed char *pcTaskName )
|
||||||
{
|
{
|
||||||
( void ) pxTask;
|
( void ) pxTask;
|
||||||
( void ) pcTaskName;
|
( void ) pcTaskName;
|
||||||
|
|
|
@ -313,7 +313,7 @@ extern unsigned portSHORT usMaxJitter;
|
||||||
}
|
}
|
||||||
/*---------------------------------------------------------------------------*/
|
/*---------------------------------------------------------------------------*/
|
||||||
|
|
||||||
void vApplicationStackOverflowHook( xTaskHandle *pxTask, signed char *pcTaskName )
|
void vApplicationStackOverflowHook( xTaskHandle pxTask, signed char *pcTaskName )
|
||||||
{
|
{
|
||||||
/* The stack space has been execeeded for a task, considering allocating more. */
|
/* The stack space has been execeeded for a task, considering allocating more. */
|
||||||
taskDISABLE_INTERRUPTS();
|
taskDISABLE_INTERRUPTS();
|
||||||
|
|
|
@ -313,7 +313,7 @@ extern unsigned portSHORT usMaxJitter;
|
||||||
}
|
}
|
||||||
/*---------------------------------------------------------------------------*/
|
/*---------------------------------------------------------------------------*/
|
||||||
|
|
||||||
void vApplicationStackOverflowHook( xTaskHandle *pxTask, signed char *pcTaskName )
|
void vApplicationStackOverflowHook( xTaskHandle pxTask, signed char *pcTaskName )
|
||||||
{
|
{
|
||||||
/* The stack space has been execeeded for a task, considering allocating more. */
|
/* The stack space has been execeeded for a task, considering allocating more. */
|
||||||
taskDISABLE_INTERRUPTS();
|
taskDISABLE_INTERRUPTS();
|
||||||
|
|
|
@ -313,7 +313,7 @@ extern unsigned portSHORT usMaxJitter;
|
||||||
}
|
}
|
||||||
/*---------------------------------------------------------------------------*/
|
/*---------------------------------------------------------------------------*/
|
||||||
|
|
||||||
void vApplicationStackOverflowHook( xTaskHandle *pxTask, signed char *pcTaskName )
|
void vApplicationStackOverflowHook( xTaskHandle pxTask, signed char *pcTaskName )
|
||||||
{
|
{
|
||||||
/* The stack space has been execeeded for a task, considering allocating more. */
|
/* The stack space has been execeeded for a task, considering allocating more. */
|
||||||
taskDISABLE_INTERRUPTS();
|
taskDISABLE_INTERRUPTS();
|
||||||
|
|
|
@ -182,7 +182,7 @@ void vApplicationIdleHook( void )
|
||||||
}
|
}
|
||||||
/*-----------------------------------------------------------*/
|
/*-----------------------------------------------------------*/
|
||||||
|
|
||||||
void vApplicationStackOverflowHook( xTaskHandle *pxTask, signed char *pcTaskName )
|
void vApplicationStackOverflowHook( xTaskHandle pxTask, signed char *pcTaskName )
|
||||||
{
|
{
|
||||||
/* This function will be called if a task overflows its stack, if
|
/* This function will be called if a task overflows its stack, if
|
||||||
configCHECK_FOR_STACK_OVERFLOW != 0. It might be that the function
|
configCHECK_FOR_STACK_OVERFLOW != 0. It might be that the function
|
||||||
|
|
|
@ -524,7 +524,7 @@ void vApplicationMallocFailedHook( void )
|
||||||
}
|
}
|
||||||
/*-----------------------------------------------------------*/
|
/*-----------------------------------------------------------*/
|
||||||
|
|
||||||
void vApplicationStackOverflowHook( xTaskHandle *pxTask, signed char *pcTaskName )
|
void vApplicationStackOverflowHook( xTaskHandle pxTask, signed char *pcTaskName )
|
||||||
{
|
{
|
||||||
( void ) pcTaskName;
|
( void ) pcTaskName;
|
||||||
( void ) pxTask;
|
( void ) pxTask;
|
||||||
|
|
|
@ -328,7 +328,7 @@ void vApplicationMallocFailedHook( void )
|
||||||
}
|
}
|
||||||
/*-----------------------------------------------------------*/
|
/*-----------------------------------------------------------*/
|
||||||
|
|
||||||
void vApplicationStackOverflowHook( xTaskHandle *pxTask, signed char *pcTaskName )
|
void vApplicationStackOverflowHook( xTaskHandle pxTask, signed char *pcTaskName )
|
||||||
{
|
{
|
||||||
( void ) pcTaskName;
|
( void ) pcTaskName;
|
||||||
( void ) pxTask;
|
( void ) pxTask;
|
||||||
|
|
|
@ -439,7 +439,7 @@ void ( *vOLEDClear )( void ) = NULL;
|
||||||
}
|
}
|
||||||
/*-----------------------------------------------------------*/
|
/*-----------------------------------------------------------*/
|
||||||
|
|
||||||
void vApplicationStackOverflowHook( xTaskHandle *pxTask, signed char *pcTaskName )
|
void vApplicationStackOverflowHook( xTaskHandle pxTask, signed char *pcTaskName )
|
||||||
{
|
{
|
||||||
for( ;; );
|
for( ;; );
|
||||||
}
|
}
|
||||||
|
|
|
@ -355,7 +355,7 @@ void prvSetupHardware( void )
|
||||||
}
|
}
|
||||||
/*-----------------------------------------------------------*/
|
/*-----------------------------------------------------------*/
|
||||||
|
|
||||||
void vApplicationStackOverflowHook( xTaskHandle *pxTask, signed char *pcTaskName )
|
void vApplicationStackOverflowHook( xTaskHandle pxTask, signed char *pcTaskName )
|
||||||
{
|
{
|
||||||
/* This function will get called if a task overflows its stack. */
|
/* This function will get called if a task overflows its stack. */
|
||||||
|
|
||||||
|
|
|
@ -255,7 +255,7 @@ void prvSetupHardware( void )
|
||||||
}
|
}
|
||||||
/*-----------------------------------------------------------*/
|
/*-----------------------------------------------------------*/
|
||||||
|
|
||||||
void vApplicationStackOverflowHook( xTaskHandle *pxTask, signed char *pcTaskName )
|
void vApplicationStackOverflowHook( xTaskHandle pxTask, signed char *pcTaskName )
|
||||||
{
|
{
|
||||||
/* This function will get called if a task overflows its stack. */
|
/* This function will get called if a task overflows its stack. */
|
||||||
|
|
||||||
|
|
|
@ -360,7 +360,7 @@ void prvSetupHardware( void )
|
||||||
}
|
}
|
||||||
/*-----------------------------------------------------------*/
|
/*-----------------------------------------------------------*/
|
||||||
|
|
||||||
void vApplicationStackOverflowHook( xTaskHandle *pxTask, signed char *pcTaskName )
|
void vApplicationStackOverflowHook( xTaskHandle pxTask, signed char *pcTaskName )
|
||||||
{
|
{
|
||||||
/* This function will get called if a task overflows its stack. */
|
/* This function will get called if a task overflows its stack. */
|
||||||
|
|
||||||
|
|
|
@ -626,7 +626,7 @@ void vApplicationMallocFailedHook( void )
|
||||||
}
|
}
|
||||||
/*-----------------------------------------------------------*/
|
/*-----------------------------------------------------------*/
|
||||||
|
|
||||||
void vApplicationStackOverflowHook( xTaskHandle *pxTask, signed char *pcTaskName )
|
void vApplicationStackOverflowHook( xTaskHandle pxTask, signed char *pcTaskName )
|
||||||
{
|
{
|
||||||
( void ) pcTaskName;
|
( void ) pcTaskName;
|
||||||
( void ) pxTask;
|
( void ) pxTask;
|
||||||
|
|
|
@ -348,7 +348,7 @@ void vApplicationMallocFailedHook( void )
|
||||||
}
|
}
|
||||||
/*-----------------------------------------------------------*/
|
/*-----------------------------------------------------------*/
|
||||||
|
|
||||||
void vApplicationStackOverflowHook( xTaskHandle *pxTask, signed char *pcTaskName )
|
void vApplicationStackOverflowHook( xTaskHandle pxTask, signed char *pcTaskName )
|
||||||
{
|
{
|
||||||
( void ) pcTaskName;
|
( void ) pcTaskName;
|
||||||
( void ) pxTask;
|
( void ) pxTask;
|
||||||
|
|
|
@ -610,7 +610,7 @@ void vApplicationMallocFailedHook( void )
|
||||||
}
|
}
|
||||||
/*-----------------------------------------------------------*/
|
/*-----------------------------------------------------------*/
|
||||||
|
|
||||||
void vApplicationStackOverflowHook( xTaskHandle *pxTask, signed char *pcTaskName )
|
void vApplicationStackOverflowHook( xTaskHandle pxTask, signed char *pcTaskName )
|
||||||
{
|
{
|
||||||
( void ) pcTaskName;
|
( void ) pcTaskName;
|
||||||
( void ) pxTask;
|
( void ) pxTask;
|
||||||
|
|
|
@ -350,7 +350,7 @@ void vApplicationMallocFailedHook( void )
|
||||||
}
|
}
|
||||||
/*-----------------------------------------------------------*/
|
/*-----------------------------------------------------------*/
|
||||||
|
|
||||||
void vApplicationStackOverflowHook( xTaskHandle *pxTask, signed char *pcTaskName )
|
void vApplicationStackOverflowHook( xTaskHandle pxTask, signed char *pcTaskName )
|
||||||
{
|
{
|
||||||
( void ) pcTaskName;
|
( void ) pcTaskName;
|
||||||
( void ) pxTask;
|
( void ) pxTask;
|
||||||
|
|
|
@ -879,7 +879,7 @@ portBASE_TYPE xDummy;
|
||||||
}
|
}
|
||||||
/*-----------------------------------------------------------*/
|
/*-----------------------------------------------------------*/
|
||||||
|
|
||||||
void vApplicationStackOverflowHook( xTaskHandle *pxTask, signed char *pcTaskName )
|
void vApplicationStackOverflowHook( xTaskHandle pxTask, signed char *pcTaskName )
|
||||||
{
|
{
|
||||||
/* If configCHECK_FOR_STACK_OVERFLOW is set to either 1 or 2 then this
|
/* If configCHECK_FOR_STACK_OVERFLOW is set to either 1 or 2 then this
|
||||||
function will automatically get called if a task overflows its stack. */
|
function will automatically get called if a task overflows its stack. */
|
||||||
|
|
|
@ -970,7 +970,7 @@ portBASE_TYPE xDummy;
|
||||||
}
|
}
|
||||||
/*-----------------------------------------------------------*/
|
/*-----------------------------------------------------------*/
|
||||||
|
|
||||||
void vApplicationStackOverflowHook( xTaskHandle *pxTask, signed char *pcTaskName )
|
void vApplicationStackOverflowHook( xTaskHandle pxTask, signed char *pcTaskName )
|
||||||
{
|
{
|
||||||
/* If configCHECK_FOR_STACK_OVERFLOW is set to either 1 or 2 then this
|
/* If configCHECK_FOR_STACK_OVERFLOW is set to either 1 or 2 then this
|
||||||
function will automatically get called if a task overflows its stack. */
|
function will automatically get called if a task overflows its stack. */
|
||||||
|
|
|
@ -311,7 +311,7 @@ void vApplicationMallocFailedHook( void )
|
||||||
}
|
}
|
||||||
/*-----------------------------------------------------------*/
|
/*-----------------------------------------------------------*/
|
||||||
|
|
||||||
void vApplicationStackOverflowHook( xTaskHandle *pxTask, signed char *pcTaskName )
|
void vApplicationStackOverflowHook( xTaskHandle pxTask, signed char *pcTaskName )
|
||||||
{
|
{
|
||||||
( void ) pcTaskName;
|
( void ) pcTaskName;
|
||||||
( void ) pxTask;
|
( void ) pxTask;
|
||||||
|
|
|
@ -339,7 +339,7 @@ static void prvSetupHardware( void )
|
||||||
}
|
}
|
||||||
/*-----------------------------------------------------------*/
|
/*-----------------------------------------------------------*/
|
||||||
|
|
||||||
void vApplicationStackOverflowHook( xTaskHandle *pxTask, signed char *pcTaskName )
|
void vApplicationStackOverflowHook( xTaskHandle pxTask, signed char *pcTaskName )
|
||||||
{
|
{
|
||||||
/* This function will get called if a task overflows its stack. If the
|
/* This function will get called if a task overflows its stack. If the
|
||||||
parameters are corrupt then inspect pxCurrentTCB to find which was the
|
parameters are corrupt then inspect pxCurrentTCB to find which was the
|
||||||
|
|
|
@ -335,7 +335,7 @@ static void prvSetupHardware( void )
|
||||||
}
|
}
|
||||||
/*-----------------------------------------------------------*/
|
/*-----------------------------------------------------------*/
|
||||||
|
|
||||||
void vApplicationStackOverflowHook( xTaskHandle *pxTask, signed char *pcTaskName )
|
void vApplicationStackOverflowHook( xTaskHandle pxTask, signed char *pcTaskName )
|
||||||
{
|
{
|
||||||
/* This function will get called if a task overflows its stack. If the
|
/* This function will get called if a task overflows its stack. If the
|
||||||
parameters are corrupt then inspect pxCurrentTCB to find which was the
|
parameters are corrupt then inspect pxCurrentTCB to find which was the
|
||||||
|
|
|
@ -566,7 +566,7 @@ void TIM6_IRQHandler( void )
|
||||||
}
|
}
|
||||||
/*-----------------------------------------------------------*/
|
/*-----------------------------------------------------------*/
|
||||||
|
|
||||||
void vApplicationStackOverflowHook( xTaskHandle *pxTask, signed char *pcTaskName )
|
void vApplicationStackOverflowHook( xTaskHandle pxTask, signed char *pcTaskName )
|
||||||
{
|
{
|
||||||
( void ) pcTaskName;
|
( void ) pcTaskName;
|
||||||
( void ) pxTask;
|
( void ) pxTask;
|
||||||
|
|
|
@ -264,7 +264,7 @@ long lReturn = pdPASS;
|
||||||
}
|
}
|
||||||
/*-----------------------------------------------------------*/
|
/*-----------------------------------------------------------*/
|
||||||
|
|
||||||
void vApplicationStackOverflowHook( xTaskHandle *pxTask, signed char *pcTaskName )
|
void vApplicationStackOverflowHook( xTaskHandle pxTask, signed char *pcTaskName )
|
||||||
{
|
{
|
||||||
/* This function will be called if a task overflows its stack. Inspect
|
/* This function will be called if a task overflows its stack. Inspect
|
||||||
pxCurrentTCB to find the offending task if the overflow was sever enough
|
pxCurrentTCB to find the offending task if the overflow was sever enough
|
||||||
|
|
|
@ -287,7 +287,7 @@ static void prvSetupHardware( void )
|
||||||
}
|
}
|
||||||
/*-----------------------------------------------------------*/
|
/*-----------------------------------------------------------*/
|
||||||
|
|
||||||
void vApplicationStackOverflowHook( xTaskHandle *pxTask, signed char *pcTaskName )
|
void vApplicationStackOverflowHook( xTaskHandle pxTask, signed char *pcTaskName )
|
||||||
{
|
{
|
||||||
/* This will get called if a stack overflow is detected during the context
|
/* This will get called if a stack overflow is detected during the context
|
||||||
switch. Set configCHECK_FOR_STACK_OVERFLOWS to 2 to also check for stack
|
switch. Set configCHECK_FOR_STACK_OVERFLOWS to 2 to also check for stack
|
||||||
|
|
|
@ -658,7 +658,7 @@ void vApplicationMallocFailedHook( void )
|
||||||
}
|
}
|
||||||
/*-----------------------------------------------------------*/
|
/*-----------------------------------------------------------*/
|
||||||
|
|
||||||
void vApplicationStackOverflowHook( xTaskHandle *pxTask, signed char *pcTaskName )
|
void vApplicationStackOverflowHook( xTaskHandle pxTask, signed char *pcTaskName )
|
||||||
{
|
{
|
||||||
( void ) pxTask;
|
( void ) pxTask;
|
||||||
( void ) pcTaskName;
|
( void ) pcTaskName;
|
||||||
|
|
|
@ -618,7 +618,7 @@ void vApplicationMallocFailedHook( void )
|
||||||
}
|
}
|
||||||
/*-----------------------------------------------------------*/
|
/*-----------------------------------------------------------*/
|
||||||
|
|
||||||
void vApplicationStackOverflowHook( xTaskHandle *pxTask, signed char *pcTaskName )
|
void vApplicationStackOverflowHook( xTaskHandle pxTask, signed char *pcTaskName )
|
||||||
{
|
{
|
||||||
( void ) pxTask;
|
( void ) pxTask;
|
||||||
( void ) pcTaskName;
|
( void ) pcTaskName;
|
||||||
|
|
|
@ -398,7 +398,7 @@ void vApplicationMallocFailedHook( void )
|
||||||
}
|
}
|
||||||
/*-----------------------------------------------------------*/
|
/*-----------------------------------------------------------*/
|
||||||
|
|
||||||
void vApplicationStackOverflowHook( xTaskHandle *pxTask, signed char *pcTaskName )
|
void vApplicationStackOverflowHook( xTaskHandle pxTask, signed char *pcTaskName )
|
||||||
{
|
{
|
||||||
( void ) pcTaskName;
|
( void ) pcTaskName;
|
||||||
( void ) pxTask;
|
( void ) pxTask;
|
||||||
|
|
|
@ -241,6 +241,9 @@ int main( void )
|
||||||
/* Configure the interrupt controller, LED outputs and button inputs. */
|
/* Configure the interrupt controller, LED outputs and button inputs. */
|
||||||
prvSetupHardware();
|
prvSetupHardware();
|
||||||
|
|
||||||
|
xil_printf( "Hello world2. %s %u\r\n", "string", 100 );
|
||||||
|
printf( "Hello world2. %s %u\r\n", "string", 100 );
|
||||||
|
|
||||||
/* This call creates the TCP/IP thread. */
|
/* This call creates the TCP/IP thread. */
|
||||||
tcpip_init( lwIPAppsInit, NULL );
|
tcpip_init( lwIPAppsInit, NULL );
|
||||||
|
|
||||||
|
@ -258,7 +261,7 @@ int main( void )
|
||||||
vStartLEDFlashTasks( mainFLASH_TASK_PRIORITY );
|
vStartLEDFlashTasks( mainFLASH_TASK_PRIORITY );
|
||||||
vStartQueuePeekTasks();
|
vStartQueuePeekTasks();
|
||||||
vStartRecursiveMutexTasks();
|
vStartRecursiveMutexTasks();
|
||||||
vStartComTestStringsTasks( mainCOM_TEST_PRIORITY, mainCOM_TEST_BAUD_RATE, mainCOM_TEST_LED );
|
// vStartComTestStringsTasks( mainCOM_TEST_PRIORITY, mainCOM_TEST_BAUD_RATE, mainCOM_TEST_LED );
|
||||||
vStartDynamicPriorityTasks();
|
vStartDynamicPriorityTasks();
|
||||||
vStartTimerDemoTask( mainTIMER_TEST_PERIOD );
|
vStartTimerDemoTask( mainTIMER_TEST_PERIOD );
|
||||||
|
|
||||||
|
@ -499,7 +502,7 @@ void vApplicationMallocFailedHook( void )
|
||||||
}
|
}
|
||||||
/*-----------------------------------------------------------*/
|
/*-----------------------------------------------------------*/
|
||||||
|
|
||||||
void vApplicationStackOverflowHook( xTaskHandle *pxTask, signed char *pcTaskName )
|
void vApplicationStackOverflowHook( xTaskHandle pxTask, signed char *pcTaskName )
|
||||||
{
|
{
|
||||||
( void ) pcTaskName;
|
( void ) pcTaskName;
|
||||||
( void ) pxTask;
|
( void ) pxTask;
|
||||||
|
|
|
@ -398,7 +398,7 @@ void vApplicationMallocFailedHook( void )
|
||||||
}
|
}
|
||||||
/*-----------------------------------------------------------*/
|
/*-----------------------------------------------------------*/
|
||||||
|
|
||||||
void vApplicationStackOverflowHook( xTaskHandle *pxTask, signed char *pcTaskName )
|
void vApplicationStackOverflowHook( xTaskHandle pxTask, signed char *pcTaskName )
|
||||||
{
|
{
|
||||||
( void ) pcTaskName;
|
( void ) pcTaskName;
|
||||||
( void ) pxTask;
|
( void ) pxTask;
|
||||||
|
|
|
@ -499,7 +499,7 @@ void vApplicationMallocFailedHook( void )
|
||||||
}
|
}
|
||||||
/*-----------------------------------------------------------*/
|
/*-----------------------------------------------------------*/
|
||||||
|
|
||||||
void vApplicationStackOverflowHook( xTaskHandle *pxTask, signed char *pcTaskName )
|
void vApplicationStackOverflowHook( xTaskHandle pxTask, signed char *pcTaskName )
|
||||||
{
|
{
|
||||||
( void ) pcTaskName;
|
( void ) pcTaskName;
|
||||||
( void ) pxTask;
|
( void ) pxTask;
|
||||||
|
|
|
@ -411,7 +411,7 @@ void vApplicationMallocFailedHook( void )
|
||||||
}
|
}
|
||||||
/*-----------------------------------------------------------*/
|
/*-----------------------------------------------------------*/
|
||||||
|
|
||||||
void vApplicationStackOverflowHook( xTaskHandle *pxTask, signed char *pcTaskName )
|
void vApplicationStackOverflowHook( xTaskHandle pxTask, signed char *pcTaskName )
|
||||||
{
|
{
|
||||||
( void ) pcTaskName;
|
( void ) pcTaskName;
|
||||||
( void ) pxTask;
|
( void ) pxTask;
|
||||||
|
|
|
@ -218,7 +218,7 @@ void vApplicationMallocFailedHook( void )
|
||||||
FreeRTOSConfig.h, then this function will be called if a task overflows its
|
FreeRTOSConfig.h, then this function will be called if a task overflows its
|
||||||
stack space. See
|
stack space. See
|
||||||
http://www.freertos.org/Stacks-and-stack-overflow-checking.html. */
|
http://www.freertos.org/Stacks-and-stack-overflow-checking.html. */
|
||||||
void vApplicationStackOverflowHook( xTaskHandle *pxTask, signed char *pcTaskName )
|
void vApplicationStackOverflowHook( xTaskHandle pxTask, signed char *pcTaskName )
|
||||||
{
|
{
|
||||||
for( ;; );
|
for( ;; );
|
||||||
}
|
}
|
||||||
|
|
|
@ -210,7 +210,7 @@ void vApplicationIdleHook( void );
|
||||||
* it is possible that the stack overflow will have corrupted these - in which
|
* it is possible that the stack overflow will have corrupted these - in which
|
||||||
* case pxCurrentTCB can be inspected to find the same information.
|
* case pxCurrentTCB can be inspected to find the same information.
|
||||||
*/
|
*/
|
||||||
void vApplicationStackOverflowHook( xTaskHandle *pxTask, signed char *pcTaskName );
|
void vApplicationStackOverflowHook( xTaskHandle pxTask, signed char *pcTaskName );
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* The reg test tasks as described at the top of this file.
|
* The reg test tasks as described at the top of this file.
|
||||||
|
@ -425,7 +425,7 @@ void vApplicationMallocFailedHook( void )
|
||||||
|
|
||||||
/* This function is explained by the comments above its prototype at the top
|
/* This function is explained by the comments above its prototype at the top
|
||||||
of this file. */
|
of this file. */
|
||||||
void vApplicationStackOverflowHook( xTaskHandle *pxTask, signed char *pcTaskName )
|
void vApplicationStackOverflowHook( xTaskHandle pxTask, signed char *pcTaskName )
|
||||||
{
|
{
|
||||||
for( ;; );
|
for( ;; );
|
||||||
}
|
}
|
||||||
|
|
|
@ -206,7 +206,7 @@ void vApplicationMallocFailedHook( void )
|
||||||
|
|
||||||
/* This function is explained by the comments above its prototype at the top
|
/* This function is explained by the comments above its prototype at the top
|
||||||
of this file. */
|
of this file. */
|
||||||
void vApplicationStackOverflowHook( xTaskHandle *pxTask, signed char *pcTaskName )
|
void vApplicationStackOverflowHook( xTaskHandle pxTask, signed char *pcTaskName )
|
||||||
{
|
{
|
||||||
for( ;; );
|
for( ;; );
|
||||||
}
|
}
|
||||||
|
|
|
@ -207,7 +207,7 @@ void vApplicationIdleHook( void );
|
||||||
* it is possible that the stack overflow will have corrupted these - in which
|
* it is possible that the stack overflow will have corrupted these - in which
|
||||||
* case pxCurrentTCB can be inspected to find the same information.
|
* case pxCurrentTCB can be inspected to find the same information.
|
||||||
*/
|
*/
|
||||||
void vApplicationStackOverflowHook( xTaskHandle *pxTask, signed char *pcTaskName );
|
void vApplicationStackOverflowHook( xTaskHandle pxTask, signed char *pcTaskName );
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* The reg test tasks as described at the top of this file.
|
* The reg test tasks as described at the top of this file.
|
||||||
|
@ -436,7 +436,7 @@ void vApplicationMallocFailedHook( void )
|
||||||
|
|
||||||
/* This function is explained by the comments above its prototype at the top
|
/* This function is explained by the comments above its prototype at the top
|
||||||
of this file. */
|
of this file. */
|
||||||
void vApplicationStackOverflowHook( xTaskHandle *pxTask, signed char *pcTaskName )
|
void vApplicationStackOverflowHook( xTaskHandle pxTask, signed char *pcTaskName )
|
||||||
{
|
{
|
||||||
for( ;; );
|
for( ;; );
|
||||||
}
|
}
|
||||||
|
|
|
@ -207,7 +207,7 @@ void vApplicationMallocFailedHook( void )
|
||||||
|
|
||||||
/* This function is explained by the comments above its prototype at the top
|
/* This function is explained by the comments above its prototype at the top
|
||||||
of this file. */
|
of this file. */
|
||||||
void vApplicationStackOverflowHook( xTaskHandle *pxTask, signed char *pcTaskName )
|
void vApplicationStackOverflowHook( xTaskHandle pxTask, signed char *pcTaskName )
|
||||||
{
|
{
|
||||||
for( ;; );
|
for( ;; );
|
||||||
}
|
}
|
||||||
|
|
|
@ -217,7 +217,7 @@ void vApplicationIdleHook( void );
|
||||||
* it is possible that the stack overflow will have corrupted these - in which
|
* it is possible that the stack overflow will have corrupted these - in which
|
||||||
* case pxCurrentTCB can be inspected to find the same information.
|
* case pxCurrentTCB can be inspected to find the same information.
|
||||||
*/
|
*/
|
||||||
void vApplicationStackOverflowHook( xTaskHandle *pxTask, signed char *pcTaskName );
|
void vApplicationStackOverflowHook( xTaskHandle pxTask, signed char *pcTaskName );
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* The reg test tasks as described at the top of this file.
|
* The reg test tasks as described at the top of this file.
|
||||||
|
@ -466,7 +466,7 @@ void vApplicationMallocFailedHook( void )
|
||||||
|
|
||||||
/* This function is explained by the comments above its prototype at the top
|
/* This function is explained by the comments above its prototype at the top
|
||||||
of this file. */
|
of this file. */
|
||||||
void vApplicationStackOverflowHook( xTaskHandle *pxTask, signed char *pcTaskName )
|
void vApplicationStackOverflowHook( xTaskHandle pxTask, signed char *pcTaskName )
|
||||||
{
|
{
|
||||||
for( ;; );
|
for( ;; );
|
||||||
}
|
}
|
||||||
|
|
|
@ -206,7 +206,7 @@ void vApplicationMallocFailedHook( void )
|
||||||
|
|
||||||
/* This function is explained by the comments above its prototype at the top
|
/* This function is explained by the comments above its prototype at the top
|
||||||
of this file. */
|
of this file. */
|
||||||
void vApplicationStackOverflowHook( xTaskHandle *pxTask, signed char *pcTaskName )
|
void vApplicationStackOverflowHook( xTaskHandle pxTask, signed char *pcTaskName )
|
||||||
{
|
{
|
||||||
for( ;; );
|
for( ;; );
|
||||||
}
|
}
|
||||||
|
|
|
@ -206,7 +206,7 @@ void vApplicationIdleHook( void );
|
||||||
* it is possible that the stack overflow will have corrupted these - in which
|
* it is possible that the stack overflow will have corrupted these - in which
|
||||||
* case pxCurrentTCB can be inspected to find the same information.
|
* case pxCurrentTCB can be inspected to find the same information.
|
||||||
*/
|
*/
|
||||||
void vApplicationStackOverflowHook( xTaskHandle *pxTask, signed char *pcTaskName );
|
void vApplicationStackOverflowHook( xTaskHandle pxTask, signed char *pcTaskName );
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* The reg test tasks as described at the top of this file.
|
* The reg test tasks as described at the top of this file.
|
||||||
|
@ -439,7 +439,7 @@ void vApplicationMallocFailedHook( void )
|
||||||
|
|
||||||
/* This function is explained by the comments above its prototype at the top
|
/* This function is explained by the comments above its prototype at the top
|
||||||
of this file. */
|
of this file. */
|
||||||
void vApplicationStackOverflowHook( xTaskHandle *pxTask, signed char *pcTaskName )
|
void vApplicationStackOverflowHook( xTaskHandle pxTask, signed char *pcTaskName )
|
||||||
{
|
{
|
||||||
for( ;; );
|
for( ;; );
|
||||||
}
|
}
|
||||||
|
|
|
@ -206,7 +206,7 @@ void vApplicationMallocFailedHook( void )
|
||||||
|
|
||||||
/* This function is explained by the comments above its prototype at the top
|
/* This function is explained by the comments above its prototype at the top
|
||||||
of this file. */
|
of this file. */
|
||||||
void vApplicationStackOverflowHook( xTaskHandle *pxTask, signed char *pcTaskName )
|
void vApplicationStackOverflowHook( xTaskHandle pxTask, signed char *pcTaskName )
|
||||||
{
|
{
|
||||||
for( ;; );
|
for( ;; );
|
||||||
}
|
}
|
||||||
|
|
|
@ -207,7 +207,7 @@ void vApplicationIdleHook( void );
|
||||||
* it is possible that the stack overflow will have corrupted these - in which
|
* it is possible that the stack overflow will have corrupted these - in which
|
||||||
* case pxCurrentTCB can be inspected to find the same information.
|
* case pxCurrentTCB can be inspected to find the same information.
|
||||||
*/
|
*/
|
||||||
void vApplicationStackOverflowHook( xTaskHandle *pxTask, signed char *pcTaskName );
|
void vApplicationStackOverflowHook( xTaskHandle pxTask, signed char *pcTaskName );
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* The reg test tasks as described at the top of this file.
|
* The reg test tasks as described at the top of this file.
|
||||||
|
@ -436,7 +436,7 @@ void vApplicationMallocFailedHook( void )
|
||||||
|
|
||||||
/* This function is explained by the comments above its prototype at the top
|
/* This function is explained by the comments above its prototype at the top
|
||||||
of this file. */
|
of this file. */
|
||||||
void vApplicationStackOverflowHook( xTaskHandle *pxTask, signed char *pcTaskName )
|
void vApplicationStackOverflowHook( xTaskHandle pxTask, signed char *pcTaskName )
|
||||||
{
|
{
|
||||||
for( ;; );
|
for( ;; );
|
||||||
}
|
}
|
||||||
|
|
|
@ -206,7 +206,7 @@ void vApplicationMallocFailedHook( void )
|
||||||
|
|
||||||
/* This function is explained by the comments above its prototype at the top
|
/* This function is explained by the comments above its prototype at the top
|
||||||
of this file. */
|
of this file. */
|
||||||
void vApplicationStackOverflowHook( xTaskHandle *pxTask, signed char *pcTaskName )
|
void vApplicationStackOverflowHook( xTaskHandle pxTask, signed char *pcTaskName )
|
||||||
{
|
{
|
||||||
for( ;; );
|
for( ;; );
|
||||||
}
|
}
|
||||||
|
|
|
@ -217,7 +217,7 @@ void vApplicationIdleHook( void );
|
||||||
* it is possible that the stack overflow will have corrupted these - in which
|
* it is possible that the stack overflow will have corrupted these - in which
|
||||||
* case pxCurrentTCB can be inspected to find the same information.
|
* case pxCurrentTCB can be inspected to find the same information.
|
||||||
*/
|
*/
|
||||||
void vApplicationStackOverflowHook( xTaskHandle *pxTask, signed char *pcTaskName );
|
void vApplicationStackOverflowHook( xTaskHandle pxTask, signed char *pcTaskName );
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* The reg test tasks as described at the top of this file.
|
* The reg test tasks as described at the top of this file.
|
||||||
|
@ -466,7 +466,7 @@ void vApplicationMallocFailedHook( void )
|
||||||
|
|
||||||
/* This function is explained by the comments above its prototype at the top
|
/* This function is explained by the comments above its prototype at the top
|
||||||
of this file. */
|
of this file. */
|
||||||
void vApplicationStackOverflowHook( xTaskHandle *pxTask, signed char *pcTaskName )
|
void vApplicationStackOverflowHook( xTaskHandle pxTask, signed char *pcTaskName )
|
||||||
{
|
{
|
||||||
for( ;; );
|
for( ;; );
|
||||||
}
|
}
|
||||||
|
|
|
@ -206,7 +206,7 @@ void vApplicationMallocFailedHook( void )
|
||||||
|
|
||||||
/* This function is explained by the comments above its prototype at the top
|
/* This function is explained by the comments above its prototype at the top
|
||||||
of this file. */
|
of this file. */
|
||||||
void vApplicationStackOverflowHook( xTaskHandle *pxTask, signed char *pcTaskName )
|
void vApplicationStackOverflowHook( xTaskHandle pxTask, signed char *pcTaskName )
|
||||||
{
|
{
|
||||||
for( ;; );
|
for( ;; );
|
||||||
}
|
}
|
||||||
|
|
|
@ -206,7 +206,7 @@ void vApplicationIdleHook( void );
|
||||||
* it is possible that the stack overflow will have corrupted these - in which
|
* it is possible that the stack overflow will have corrupted these - in which
|
||||||
* case pxCurrentTCB can be inspected to find the same information.
|
* case pxCurrentTCB can be inspected to find the same information.
|
||||||
*/
|
*/
|
||||||
void vApplicationStackOverflowHook( xTaskHandle *pxTask, signed char *pcTaskName );
|
void vApplicationStackOverflowHook( xTaskHandle pxTask, signed char *pcTaskName );
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* The reg test tasks as described at the top of this file.
|
* The reg test tasks as described at the top of this file.
|
||||||
|
@ -439,7 +439,7 @@ void vApplicationMallocFailedHook( void )
|
||||||
|
|
||||||
/* This function is explained by the comments above its prototype at the top
|
/* This function is explained by the comments above its prototype at the top
|
||||||
of this file. */
|
of this file. */
|
||||||
void vApplicationStackOverflowHook( xTaskHandle *pxTask, signed char *pcTaskName )
|
void vApplicationStackOverflowHook( xTaskHandle pxTask, signed char *pcTaskName )
|
||||||
{
|
{
|
||||||
for( ;; );
|
for( ;; );
|
||||||
}
|
}
|
||||||
|
|
|
@ -217,7 +217,7 @@ void vApplicationMallocFailedHook( void )
|
||||||
FreeRTOSConfig.h, then this function will be called if a task overflows its
|
FreeRTOSConfig.h, then this function will be called if a task overflows its
|
||||||
stack space. See
|
stack space. See
|
||||||
http://www.freertos.org/Stacks-and-stack-overflow-checking.html. */
|
http://www.freertos.org/Stacks-and-stack-overflow-checking.html. */
|
||||||
void vApplicationStackOverflowHook( xTaskHandle *pxTask, signed char *pcTaskName )
|
void vApplicationStackOverflowHook( xTaskHandle pxTask, signed char *pcTaskName )
|
||||||
{
|
{
|
||||||
for( ;; );
|
for( ;; );
|
||||||
}
|
}
|
||||||
|
|
|
@ -200,7 +200,7 @@ void vApplicationIdleHook( void );
|
||||||
* it is possible that the stack overflow will have corrupted these - in which
|
* it is possible that the stack overflow will have corrupted these - in which
|
||||||
* case pxCurrentTCB can be inspected to find the same information.
|
* case pxCurrentTCB can be inspected to find the same information.
|
||||||
*/
|
*/
|
||||||
void vApplicationStackOverflowHook( xTaskHandle *pxTask, signed char *pcTaskName );
|
void vApplicationStackOverflowHook( xTaskHandle pxTask, signed char *pcTaskName );
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* The reg test tasks as described at the top of this file.
|
* The reg test tasks as described at the top of this file.
|
||||||
|
@ -420,7 +420,7 @@ void vApplicationMallocFailedHook( void )
|
||||||
|
|
||||||
/* This function is explained by the comments above its prototype at the top
|
/* This function is explained by the comments above its prototype at the top
|
||||||
of this file. */
|
of this file. */
|
||||||
void vApplicationStackOverflowHook( xTaskHandle *pxTask, signed char *pcTaskName )
|
void vApplicationStackOverflowHook( xTaskHandle pxTask, signed char *pcTaskName )
|
||||||
{
|
{
|
||||||
for( ;; );
|
for( ;; );
|
||||||
}
|
}
|
||||||
|
|
|
@ -401,7 +401,7 @@ void vApplicationIdleHook( void )
|
||||||
}
|
}
|
||||||
/*-----------------------------------------------------------*/
|
/*-----------------------------------------------------------*/
|
||||||
|
|
||||||
void vApplicationStackOverflowHook( xTaskHandle *pxTask, signed char *pcTaskName )
|
void vApplicationStackOverflowHook( xTaskHandle pxTask, signed char *pcTaskName )
|
||||||
{
|
{
|
||||||
/* Just to remove compiler warnings. This function will only actually
|
/* Just to remove compiler warnings. This function will only actually
|
||||||
get called if configCHECK_FOR_STACK_OVERFLOW is set to a non zero value.
|
get called if configCHECK_FOR_STACK_OVERFLOW is set to a non zero value.
|
||||||
|
|
Loading…
Reference in a new issue