get freertos build
This commit is contained in:
6
vendor/freertos/freertos_hook.c
vendored
6
vendor/freertos/freertos_hook.c
vendored
@@ -41,7 +41,7 @@
|
||||
//--------------------------------------------------------------------+
|
||||
#include "FreeRTOS.h"
|
||||
#include "task.h"
|
||||
#include "common/common.h"
|
||||
#include "common/tusb_common.h"
|
||||
|
||||
//#include "board.h"
|
||||
//--------------------------------------------------------------------+
|
||||
@@ -58,7 +58,7 @@
|
||||
void vApplicationMallocFailedHook(void)
|
||||
{
|
||||
taskDISABLE_INTERRUPTS();
|
||||
ASSERT_FAILED_MSG(VOID_RETURN, "freeRTOS run out of heap memory");
|
||||
TU_ASSERT(false, );
|
||||
}
|
||||
|
||||
void vApplicationIdleHook(void)
|
||||
@@ -72,7 +72,7 @@ void vApplicationStackOverflowHook(xTaskHandle pxTask, signed char *pcTaskName)
|
||||
(void) pxTask;
|
||||
|
||||
taskDISABLE_INTERRUPTS();
|
||||
ASSERT_FAILED_MSG(VOID_RETURN, pcTaskName);
|
||||
TU_ASSERT(false, );
|
||||
}
|
||||
|
||||
// executes from within an ISR
|
||||
|
||||
Reference in New Issue
Block a user