esp_psram_extram_add_to_heap_allocator() function
Add the initialized PSRAM to the heap allocator.
Syntax
esp_err_t esp_psram_extram_add_to_heap_allocator(void); Return value
- ESP_OK: On success Other error type, see `heap_caps_add_region`.
esp_psram_extram_add_to_heap_allocator() calls 5 functions:
![]()
esp_psram_extram_add_to_heap_allocator()
esp_psram_extram_add_to_heap_allocator() reads 7 variables:
![]()
esp_psram_extram_add_to_heap_allocator()