Function esp_idf_hal::sys::heap_caps_malloc_extmem_enable
source ยท pub unsafe extern "C" fn heap_caps_malloc_extmem_enable(limit: usize)
Expand description
@brief Enable malloc() in external memory and set limit below which malloc() attempts are placed in internal memory.
When external memory is in use, the allocation strategy is to initially try to satisfy smaller allocation requests with internal memory and larger requests with external memory. This sets the limit between the two, as well as generally enabling allocation in external memory.
@param limit Limit, in bytes.