initial commit
This commit is contained in:
20
include/freertos_hooks.h
Normal file
20
include/freertos_hooks.h
Normal file
@@ -0,0 +1,20 @@
|
||||
#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
|
||||
Reference in New Issue
Block a user