Function esp_idf_svc::sys::vApplicationGetIdleTaskMemory

source ยท
pub unsafe extern "C" fn vApplicationGetIdleTaskMemory(
    ppxIdleTaskTCBBuffer: *mut *mut xSTATIC_TCB,
    ppxIdleTaskStackBuffer: *mut *mut u8,
    pulIdleTaskStackSize: *mut u32,
)
Expand description

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 the idle task @param pulIdleTaskStackSize A pointer to the number of elements that will fit in the allocated stack buffer