Beginnings of the shuffle

This commit is contained in:
Ben V. Brown
2020-05-29 21:39:06 +10:00
parent ef5ba8b650
commit fd700aecb9
27 changed files with 1005 additions and 979 deletions

View File

@@ -0,0 +1,24 @@
/*
* FreeRTOSHooks.c
*
* Created on: 29 May 2020
* Author: Ralim
*/
#include "FreeRTOSHooks.h"
#include "BSP.h"
void vApplicationIdleHook(void) {
resetWatchdog();
}
/* USER CODE BEGIN GET_IDLE_TASK_MEMORY */
static StaticTask_t xIdleTaskTCBBuffer;
static StackType_t xIdleStack[configMINIMAL_STACK_SIZE];
void vApplicationGetIdleTaskMemory(StaticTask_t **ppxIdleTaskTCBBuffer,
StackType_t **ppxIdleTaskStackBuffer, uint32_t *pulIdleTaskStackSize) {
*ppxIdleTaskTCBBuffer = &xIdleTaskTCBBuffer;
*ppxIdleTaskStackBuffer = &xIdleStack[0];
*pulIdleTaskStackSize = configMINIMAL_STACK_SIZE;
/* place for user code */
}