FreeRTOS/Src/HeapManager.c
/* configSUPPORT_STATIC_ALLOCATION and configUSE_TIMERS are both set to 1, so the
application must provide an implementation of vApplicationGetTimerTaskMemory()
to provide the memory that is used by the Timer service task. */
configSUPPORT_STATIC_ALLOCATION and configUSE_TIMERS are both set to 1, so the
application must provide an implementation of vApplicationGetTimerTaskMemory()
to provide the memory that is used by the Timer service task.
configSUPPORT_STATIC_ALLOCATION and configUSE_TIMERS are both set to 1 so the application must provide an implementation of vApplicationGetTimerTaskMemory () to provide the memory that is used by the Timer service task .
void vApplicationGetTimerTaskMemory( StaticTask_t **ppxTimerTaskTCBBuffer,
                                     StackType_t **ppxTimerTaskStackBuffer,
                                     uint32_t *pulTimerTaskStackSize )
{
static StaticTask_t xTimerTaskTCB;
static StackType_t uxTimerTaskStack[ configTIMER_TASK_STACK_DEPTH ];
    *ppxTimerTaskTCBBuffer = &xTimerTaskTCB;
    *ppxTimerTaskStackBuffer = uxTimerTaskStack;
    *pulTimerTaskStackSize = configTIMER_TASK_STACK_DEPTH;
}
void vApplicationGetTimerTaskMemory ( StaticTask_t * * ppxTimerTaskTCBBuffer , StackType_t * * ppxTimerTaskStackBuffer , uint32_t * pulTimerTaskStackSize ) { static StaticTask_t xTimerTaskTCB ; static StackType_t uxTimerTaskStack [ configTIMER_TASK_STACK_DEPTH ] ; * ppxTimerTaskTCBBuffer = & xTimerTaskTCB ; * ppxTimerTaskStackBuffer = uxTimerTaskStack ; * pulTimerTaskStackSize = configTIMER_TASK_STACK_DEPTH ; }
configSUPPORT_STATIC_ALLOCATION and configUSE_TIMERS are both set to 1, so the
application must provide an implementation of vApplicationGetTimerTaskMemory()
to provide the memory that is used by the Timer service task.
configSUPPORT_STATIC_ALLOCATION and configUSE_TIMERS are both set to 1 so the application must provide an implementation of vApplicationGetTimerTaskMemory () to provide the memory that is used by the Timer service task .
/* If the buffers to be provided to the Timer task are declared inside this
function then they must be declared static - otherwise they will be allocated on
the stack and so not exists after this function exits. */ /* Pass out a pointer to the StaticTask_t structure in which the Timer
    task's state will be stored. */ /* Pass out the array that will be used as the Timer task's stack. */ /* Pass out the size of the array pointed to by *ppxTimerTaskStackBuffer.
    Note that, as the array is necessarily of type StackType_t,
    configTIMER_TASK_STACK_DEPTH is specified in words, not bytes. */