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
esp_himem_alloc() calls 5 functions:
![]()
esp_himem_alloc()
esp_himem_alloc() reads 1 variable and writes 2 variables:
![]()
esp_himem_alloc()
esp_himem_alloc() allocates 1 types and frees 1 types:
![]()
esp_himem_alloc()