esp_himem_alloc() function
Allocate a block in high memory
Arguments
size
Size of the to-be-allocated block, in bytes. Note that this needs to be a multiple of the external RAM mmu block size (32K).
handle_out
Handle to be returned
Return value
- ESP_OK if succesful - ESP_ERR_NO_MEM if out of memory - ESP_ERR_INVALID_SIZE if size is not a multiple of 32K
Examples
esp_himem_alloc() is referenced by 1 libraries and example projects: