forked from espressif/esp-idf
refactor(freertos/idf): Remove application hook prototypes
The following application hook protoypes are defined in task.h from FreeRTOS V10.4.0 onwwards and no longer need to be declared in tasks.c, thus have been removed: - vApplicationStackOverflowHook() - vApplicationTickHook() - vApplicationGetIdleTaskMemory()
This commit is contained in:
@@ -504,28 +504,6 @@ PRIVILEGED_DATA static volatile BaseType_t xSwitchingContext[ configNUM_CORES ]
|
|||||||
|
|
||||||
/*-----------------------------------------------------------*/
|
/*-----------------------------------------------------------*/
|
||||||
|
|
||||||
/* Callback function prototypes. --------------------------*/
|
|
||||||
#if ( configCHECK_FOR_STACK_OVERFLOW > 0 )
|
|
||||||
|
|
||||||
extern void vApplicationStackOverflowHook( TaskHandle_t xTask,
|
|
||||||
char * pcTaskName );
|
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if ( configUSE_TICK_HOOK > 0 )
|
|
||||||
|
|
||||||
extern void vApplicationTickHook( void ); /*lint !e526 Symbol not defined as it is an application callback. */
|
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if ( configSUPPORT_STATIC_ALLOCATION == 1 )
|
|
||||||
|
|
||||||
extern void vApplicationGetIdleTaskMemory( StaticTask_t ** ppxIdleTaskTCBBuffer,
|
|
||||||
StackType_t ** ppxIdleTaskStackBuffer,
|
|
||||||
uint32_t * pulIdleTaskStackSize ); /*lint !e526 Symbol not defined as it is an application callback. */
|
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* File private functions. --------------------------------*/
|
/* File private functions. --------------------------------*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user