initial commit

This commit is contained in:
2024-12-15 00:34:01 +06:00
commit 31efbc726f
1576 changed files with 657692 additions and 0 deletions

20
include/freertos_hooks.h Normal file
View 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