32#ifndef __VSF_ESPIDF_ESP_HEAP_CAPS_H__
33#define __VSF_ESPIDF_ESP_HEAP_CAPS_H__
48#define MALLOC_CAP_EXEC (1u << 0)
49#define MALLOC_CAP_32BIT (1u << 1)
50#define MALLOC_CAP_8BIT (1u << 2)
51#define MALLOC_CAP_DMA (1u << 3)
52#define MALLOC_CAP_PID2 (1u << 4)
53#define MALLOC_CAP_PID3 (1u << 5)
54#define MALLOC_CAP_PID4 (1u << 6)
55#define MALLOC_CAP_PID5 (1u << 7)
56#define MALLOC_CAP_PID6 (1u << 8)
57#define MALLOC_CAP_PID7 (1u << 9)
58#define MALLOC_CAP_SPIRAM (1u << 10)
59#define MALLOC_CAP_INTERNAL (1u << 11)
60#define MALLOC_CAP_DEFAULT (1u << 12)
61#define MALLOC_CAP_IRAM_8BIT (1u << 13)
62#define MALLOC_CAP_RETENTION (1u << 14)
63#define MALLOC_CAP_RTCRAM (1u << 16)
64#define MALLOC_CAP_TCM (1u << 17)
65#define MALLOC_CAP_INVALID (1u << 31)
void * heap_caps_calloc(size_t n, size_t size, uint32_t caps)
Definition esp_heap_caps_port.c:115
void heap_caps_get_info(multi_heap_info_t *info, uint32_t caps)
Definition esp_heap_caps_port.c:241
bool heap_caps_check_integrity_all(bool print_errors)
Definition esp_heap_caps_port.c:267
bool heap_caps_check_integrity(uint32_t caps, bool print_errors)
Definition esp_heap_caps_port.c:274
void heap_caps_aligned_free(void *ptr)
Definition esp_heap_caps_port.c:147
void * heap_caps_aligned_alloc(size_t alignment, size_t size, uint32_t caps)
Definition esp_heap_caps_port.c:135
void * heap_caps_malloc(size_t size, uint32_t caps)
Definition esp_heap_caps_port.c:85
void * heap_caps_aligned_calloc(size_t alignment, size_t n, size_t size, uint32_t caps)
Definition esp_heap_caps_port.c:156
size_t heap_caps_get_largest_free_block(uint32_t caps)
Definition esp_heap_caps_port.c:227
void * heap_caps_realloc(void *ptr, size_t size, uint32_t caps)
Definition esp_heap_caps_port.c:101
size_t heap_caps_get_minimum_free_size(uint32_t caps)
Definition esp_heap_caps_port.c:211
size_t heap_caps_get_free_size(uint32_t caps)
Definition esp_heap_caps_port.c:195
size_t heap_caps_get_total_size(uint32_t caps)
Definition esp_heap_caps_port.c:181
struct multi_heap_info multi_heap_info_t
void heap_caps_free(void *ptr)
Definition esp_heap_caps_port.c:93
unsigned uint32_t
Definition stdint.h:9
Definition esp_heap_caps.h:70
size_t free_blocks
Definition esp_heap_caps.h:76
size_t allocated_blocks
Definition esp_heap_caps.h:75
size_t total_allocated_bytes
Definition esp_heap_caps.h:72
size_t minimum_free_bytes
Definition esp_heap_caps.h:74
size_t total_blocks
Definition esp_heap_caps.h:77
size_t total_free_bytes
Definition esp_heap_caps.h:71
size_t largest_free_block
Definition esp_heap_caps.h:73
uint_fast32_t alignment
Definition vsf_heap.h:172
uint32_t size
Definition vsf_memfs.h:50