ESP-IDF
+
0
/1 examples
SourceVu will show references to
esp_himem_free()
from the following samples and libraries:
himem sample
Symbol previews are coming soon...
Symbols
loading...
Files
loading (4/5)...
Summary
Syntax
Arguments
Related
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
esp_himem_free()
esp_himem_free() function
Free a block of physical memory This clears out the associated handle making the memory available for re-allocation again. This will only succeed if none of the memory blocks currently have a mapping.
Syntax
Show:
Summary
Declaration
Definition
from
himem.h:91
esp_err_t
esp_himem_free
(
esp_himem_handle_t
handle
)
;
Implemented in
esp_himem.c:222
Arguments
Argument
Description
handle
Handle to the block of memory, as given by esp_himem_alloc
Return value
- ESP_OK if the memory is succesfully freed - ESP_ERR_INVALID_ARG if the handle still is (partially) mapped
Related Functions
Found 2 other functions taking a
esp_himem_ramdata_t
argument:
Function
Description
esp_himem_map()
Map a block of high memory into the CPUs address space This effectively makes the block available for read/write operations.
esp_himem_alloc()
Allocate a block in high memory
Examples
esp_himem_free()
is referenced by 1 libraries and example projects:
himem sample
References
from
0/1
examples
Code
Location
esp_err_t
esp_himem_free
(
esp_himem_handle_t
handle
)
esp_himem.c:222
esp_err_t
esp_himem_free
(
esp_himem_handle_t
handle
)
;
himem.h:91
Call Tree
from
0/1
examples
esp_himem_free()
calls 7 functions:
All items filtered out
esp_himem_free()
vPortEnterCritical()
esp_log_timestamp()
esp_log_write()
__assert_func()
vPortExitCritical()
free()
ramblock_idx_valid()
All items filtered out
Data Use
from
0/1
examples
esp_himem_free()
reads 9 variables and writes 1 variable:
esp_log_level_t::ESP_LOG_ERROR
esp_log_level_t::ESP_LOG_WARN
esp_log_level_t::ESP_LOG_INFO
esp_log_level_t::ESP_LOG_DEBUG
esp_log_level_t::ESP_LOG_VERBOSE
ramblock_t::is_mapped
s_ram_descriptor
esp_himem_ramdata_t::block_ct
esp_himem_ramdata_t::block
All items filtered out
esp_himem_free()
ramblock_t::is_alloced
All items filtered out
Class Tree
from
0/1
examples
All items filtered out
All items filtered out
Override Tree
from
0/1
examples
All items filtered out
All items filtered out
Implementations
from
0/1
examples
All items filtered out
All items filtered out
Instances
from
0/1
examples
Lifecycle
from
0/1
examples
esp_himem_free()
allocates 1 types:
esp_himem_ramdata_t
All items filtered out
esp_himem_free()
All items filtered out