get freertos build

This commit is contained in:
hathach
2018-03-30 15:33:36 +07:00
parent 97db3c7c3d
commit 82da013dad
12 changed files with 118 additions and 66 deletions

View File

@@ -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