32#ifndef __VSF_ESPIDF_ESP_HEAP_CAPS_H__
33#define __VSF_ESPIDF_ESP_HEAP_CAPS_H__
49#define MALLOC_CAP_EXEC (1u << 0)
50#define MALLOC_CAP_32BIT (1u << 1)
51#define MALLOC_CAP_8BIT (1u << 2)
52#define MALLOC_CAP_DMA (1u << 3)
53#define MALLOC_CAP_PID2 (1u << 4)
54#define MALLOC_CAP_PID3 (1u << 5)
55#define MALLOC_CAP_PID4 (1u << 6)
56#define MALLOC_CAP_PID5 (1u << 7)
57#define MALLOC_CAP_PID6 (1u << 8)
58#define MALLOC_CAP_PID7 (1u << 9)
59#define MALLOC_CAP_SPIRAM (1u << 10)
60#define MALLOC_CAP_INTERNAL (1u << 11)
61#define MALLOC_CAP_DEFAULT (1u << 12)
62#define MALLOC_CAP_IRAM_8BIT (1u << 13)
63#define MALLOC_CAP_RETENTION (1u << 14)
64#define MALLOC_CAP_RTCRAM (1u << 16)
65#define MALLOC_CAP_TCM (1u << 17)
66#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:124
void heap_caps_get_info(multi_heap_info_t *info, uint32_t caps)
Definition esp_heap_caps_port.c:250
bool heap_caps_check_integrity_all(bool print_errors)
Definition esp_heap_caps_port.c:276
bool heap_caps_check_integrity(uint32_t caps, bool print_errors)
Definition esp_heap_caps_port.c:283
void heap_caps_aligned_free(void *ptr)
Definition esp_heap_caps_port.c:156
void * heap_caps_aligned_alloc(size_t alignment, size_t size, uint32_t caps)
Definition esp_heap_caps_port.c:144
void * heap_caps_malloc(size_t size, uint32_t caps)
Definition esp_heap_caps_port.c:87
void * heap_caps_aligned_calloc(size_t alignment, size_t n, size_t size, uint32_t caps)
Definition esp_heap_caps_port.c:165
size_t heap_caps_get_largest_free_block(uint32_t caps)
Definition esp_heap_caps_port.c:236
void * heap_caps_realloc(void *ptr, size_t size, uint32_t caps)
Definition esp_heap_caps_port.c:110
size_t heap_caps_get_minimum_free_size(uint32_t caps)
Definition esp_heap_caps_port.c:220
size_t heap_caps_get_free_size(uint32_t caps)
Definition esp_heap_caps_port.c:204
size_t heap_caps_get_total_size(uint32_t caps)
Definition esp_heap_caps_port.c:190
void heap_caps_free(void *ptr)
Definition esp_heap_caps_port.c:102
unsigned uint32_t
Definition stdint.h:9
Definition multi_heap.h:40
uint_fast32_t alignment
Definition vsf_heap.h:172
uint32_t size
Definition vsf_memfs.h:50