Function esp_idf_svc::hal::sys::heap_caps_check_integrity_all

source ยท
pub unsafe extern "C" fn heap_caps_check_integrity_all(
    print_errors: bool,
) -> bool
Expand description

@brief Check integrity of all heap memory in the system.

Calls multi_heap_check on all heaps. Optionally print errors if heaps are corrupt.

Calling this function is equivalent to calling heap_caps_check_integrity with the caps argument set to MALLOC_CAP_INVALID.

@param print_errors Print specific errors if heap corruption is found.

@note Please increase the value of CONFIG_ESP_INT_WDT_TIMEOUT_MS when using this API with PSRAM enabled.

@return True if all heaps are valid, False if at least one heap is corrupt.