17 extern "C" __attribute__((weak))
18 void vApplicationGetIdleTaskMemory(StaticTask_t** ppxIdleTaskTCBBuffer,
19 StackType_t** ppxIdleTaskStackBuffer, configSTACK_DEPTH_TYPE* pulIdleTaskStackSize)
21 static StaticTask_t xIdleTaskTCB;
22 static StackType_t uxIdleTaskStack[configMINIMAL_STACK_SIZE];
23 *ppxIdleTaskTCBBuffer = &xIdleTaskTCB;
24 *ppxIdleTaskStackBuffer = uxIdleTaskStack;
25 *pulIdleTaskStackSize = configMINIMAL_STACK_SIZE;
29 extern "C" __attribute__((weak))
30 void vApplicationGetTimerTaskMemory( StaticTask_t **ppxTimerTaskTCBBuffer,
31 StackType_t **ppxTimerTaskStackBuffer,
32 configSTACK_DEPTH_TYPE *pulTimerTaskStackSize )
34 static StaticTask_t xTimerTaskTCB;
35 static StackType_t uxTimerTaskStack[ configTIMER_TASK_STACK_DEPTH ];
36 *ppxTimerTaskTCBBuffer = &xTimerTaskTCB;
37 *ppxTimerTaskStackBuffer = uxTimerTaskStack;
38 *pulTimerTaskStackSize = configTIMER_TASK_STACK_DEPTH;
42 extern "C" __attribute__((weak))
void vApplicationTickHook(
void)
45 if(satcat5::freertos::satcat_task_handle)
46 xTaskResumeFromISR(satcat5::freertos::satcat_task_handle);
50 #if (configUSE_MALLOC_FAILED_HOOK == 1)
51 extern "C" __attribute__((weak))
void vApplicationMallocFailedHook(
void)
58 #if (configCHECK_FOR_STACK_OVERFLOW > 0)
59 extern "C" __attribute__((weak))
void vApplicationStackOverflowHook(
60 TaskHandle_t xTask,
char *pcTaskName)
void request_poll()
Call this method to request polling at a later time.
Provides a FreeRTOS task function and hooks for using SatCat5 as a task inside a larger FreeRTOS proj...
TaskHandle_t satcat_task_handle
Task handle, must be outside StaticTask for access by vApplicationTickHook()