Function esp_idf_hal::sys::vApplicationGetIdleTaskMemory
source ยท pub unsafe extern "C" fn vApplicationGetIdleTaskMemory(
ppxIdleTaskTCBBuffer: *mut *mut xSTATIC_TCB,
ppxIdleTaskStackBuffer: *mut *mut u8,
pulIdleTaskStackSize: *mut u32,
)
Expand description
@cond !DOC_EXCLUDE_HEADER_SECTION task.h @code{c} void vApplicationGetIdleTaskMemory( StaticTask_t ** ppxIdleTaskTCBBuffer, StackType_t ** ppxIdleTaskStackBuffer, uint32_t *pulIdleTaskStackSize ) @endcode @endcond This function is used to provide a statically allocated block of memory to FreeRTOS to hold the Idle Task TCB. This function is required when configSUPPORT_STATIC_ALLOCATION is set. For more information see this URI: https://www.FreeRTOS.org/a00110.html#configSUPPORT_STATIC_ALLOCATION
@param ppxIdleTaskTCBBuffer A handle to a statically allocated TCB buffer @param ppxIdleTaskStackBuffer A handle to a statically allocated Stack buffer for thie idle task @param pulIdleTaskStackSize A pointer to the number of elements that will fit in the allocated stack buffer