21 lines
498 B
C
21 lines
498 B
C
#ifndef FREERTOS_HOOKS_H
|
|
#define FREERTOS_HOOKS_H
|
|
|
|
#include "FreeRTOS.h"
|
|
#include "task.h"
|
|
|
|
/**
|
|
* @brief Idle task hook function called by FreeRTOS idle task
|
|
*/
|
|
void vApplicationIdleHook(void);
|
|
|
|
/**
|
|
* @brief Stack overflow hook called when a stack overflow is detected
|
|
*
|
|
* @param pxTask Handle of the task that caused overflow
|
|
* @param pcTaskName Name of the task that caused overflow
|
|
*/
|
|
void vApplicationStackOverflowHook(TaskHandle_t pxTask, char *pcTaskName);
|
|
|
|
#endif // FREERTOS_HOOKS_H
|