ESP-IDF
+
0
/19 examples
SourceVu will show references to
MALLOC_CAP_DEFAULT
from the following samples and libraries:
FatFS
blink sample
ot_br sample
ot_cli sample
ot_trel sample
wifi_coexist sample
i2c_oled sample
spi_lcd_touch sample
tjpgd sample
lcd sample
advanced sample
Bluedroid_GATT_Server sample
NimBLE_Connection sample
NimBLE_GATT_Server sample
NimBLE_Security sample
blecent_throughput sample
logic_analyzer sample
cdc_acm_host sample
cdc_acm_vcp sample
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
Summary
Syntax
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
MALLOC_CAP_DEFAULT
MALLOC_CAP_DEFAULT macro
Syntax
Show:
Summary
Declaration
from
esp_heap_caps.h:41
#define
MALLOC_CAP_DEFAULT
(
1
<
<
12
)
Examples
MALLOC_CAP_DEFAULT
is referenced by 19 libraries and example projects:
FatFS
blink sample
ot_br sample
ot_cli sample
ot_trel sample
wifi_coexist sample
i2c_oled sample
spi_lcd_touch sample
tjpgd sample
lcd sample
advanced sample
Bluedroid_GATT_Server sample
NimBLE_Connection sample
NimBLE_GATT_Server sample
NimBLE_Security sample
blecent_throughput sample
logic_analyzer sample
cdc_acm_host sample
cdc_acm_vcp sample
References
from
0/19
examples
Code
Location
#define
MALLOC_CAP_DEFAULT
(
1
<
<
12
)
///< Memory can be returned in a non-capability-specific memory allocation (e.g. malloc(), calloc()) call
esp_heap_caps.h:41
#define
ADC_MEM_ALLOC_CAPS
MALLOC_CAP_DEFAULT
adc_oneshot.c:38
uint32_t
heap_size
=
heap_caps_get_minimum_free_size
(
MALLOC_CAP_DEFAULT
)
;
cmd_system_common.c:165
.
heap_alloc_caps
=
MALLOC_CAP_DEFAULT
commands.c:49
s_config
.
heap_alloc_caps
=
MALLOC_CAP_DEFAULT
;
commands.c:72
#define
DAC_MEM_ALLOC_CAPS
MALLOC_CAP_DEFAULT
dac_continuous.c:37
MALLOC_CAP_DEFAULT
|
MALLOC_CAP_SPIRAM
,
esp_adapter.c:267
MALLOC_CAP_DEFAULT
|
MALLOC_CAP_INTERNAL
)
;
esp_adapter.c:268
.
heap_alloc_caps
=
MALLOC_CAP_DEFAULT
,
\
esp_console.h:41
uint32_t
caps
=
MALLOC_CAP_DEFAULT
;
esp_flash_spi_init.c:234
#define
LCD_I80_MEM_ALLOC_CAPS
MALLOC_CAP_DEFAULT
esp_lcd_common.h:26
(
MALLOC_CAP_DEFAULT
|
MALLOC_CAP_8BIT
)
;
esp_openthread_platform.cpp:214
uint32_t
byte_aligned_caps
[
]
=
{
MALLOC_CAP_SPIRAM
|
MALLOC_CAP_DEFAULT
,
0
,
MALLOC_CAP_8BIT
|
MALLOC_CAP_32BIT
|
MALLOC_CAP_SIMD
}
;
esp_psram.c:372
uint32_t
word_aligned_caps
[
]
=
{
MALLOC_CAP_SPIRAM
|
MALLOC_CAP_DEFAULT
,
0
,
MALLOC_CAP_32BIT
}
;
esp_psram.c:382
return
heap_caps_get_free_size
(
MALLOC_CAP_DEFAULT
)
;
esp_system_chip.c:72
return
heap_caps_get_minimum_free_size
(
MALLOC_CAP_DEFAULT
)
;
esp_system_chip.c:82
#define
VFS_MALLOC_FLAGS
MALLOC_CAP_DEFAULT
esp_vfs_private.h:18
const
uint32_t
alloc_caps
=
(
intr_alloc_flags
&
ESP_INTR_FLAG_IRAM
)
?
MALLOC_CAP_INTERNAL
:
MALLOC_CAP_DEFAULT
;
gpio.c:504
#define
GPTIMER_MEM_ALLOC_CAPS
MALLOC_CAP_DEFAULT
gptimer_priv.h:35
return
heap_caps_malloc
(
size
,
MALLOC_CAP_DEFAULT
|
MALLOC_CAP_INTERNAL
)
;
heap_caps.c:110
r
=
heap_caps_malloc_base
(
size
,
MALLOC_CAP_DEFAULT
|
MALLOC_CAP_INTERNAL
)
;
heap_caps.c:118
r
=
heap_caps_malloc_base
(
size
,
MALLOC_CAP_DEFAULT
|
MALLOC_CAP_SPIRAM
)
;
heap_caps.c:120
r
=
heap_caps_malloc_base
(
size
,
MALLOC_CAP_DEFAULT
)
;
heap_caps.c:124
heap_caps_alloc_failed
(
size
,
MALLOC_CAP_DEFAULT
,
__func__
)
;
heap_caps.c:129
return
heap_caps_realloc
(
ptr
,
size
,
MALLOC_CAP_DEFAULT
|
MALLOC_CAP_INTERNAL
)
;
heap_caps.c:143
r
=
heap_caps_realloc_base
(
ptr
,
size
,
MALLOC_CAP_DEFAULT
|
MALLOC_CAP_INTERNAL
)
;
heap_caps.c:151
r
=
heap_caps_realloc_base
(
ptr
,
size
,
MALLOC_CAP_DEFAULT
|
MALLOC_CAP_SPIRAM
)
;
heap_caps.c:153
r
=
heap_caps_realloc_base
(
ptr
,
size
,
MALLOC_CAP_DEFAULT
)
;
heap_caps.c:158
heap_caps_alloc_failed
(
size
,
MALLOC_CAP_DEFAULT
,
__func__
)
;
heap_caps.c:163
uint32_t
caps
=
MALLOC_CAP_DEFAULT
;
heap_caps.c:177
uint32_t
caps
=
MALLOC_CAP_DEFAULT
;
heap_caps.c:201
uint32_t
caps
=
MALLOC_CAP_DEFAULT
;
heap_caps.c:225
min_free_bytes_monitoring
.
values
=
heap_caps_malloc
(
sizeof
(
size_t
)
*
min_free_bytes_monitoring
.
counter
,
MALLOC_CAP_DEFAULT
)
;
heap_caps.c:324
return
heap_caps_aligned_alloc
(
alignment
,
size
,
MALLOC_CAP_DEFAULT
|
MALLOC_CAP_INTERNAL
)
;
heap_caps.c:501
if
(
heap_caps_aligned_check_args
(
alignment
,
size
,
MALLOC_CAP_DEFAULT
,
__func__
)
!=
ESP_OK
)
{
heap_caps.c:504
ret
=
heap_caps_aligned_alloc_base
(
alignment
,
size
,
MALLOC_CAP_DEFAULT
|
MALLOC_CAP_INTERNAL
)
;
heap_caps.c:509
ret
=
heap_caps_aligned_alloc_base
(
alignment
,
size
,
MALLOC_CAP_DEFAULT
|
MALLOC_CAP_SPIRAM
)
;
heap_caps.c:511
ret
=
heap_caps_aligned_alloc_base
(
alignment
,
size
,
MALLOC_CAP_DEFAULT
)
;
heap_caps.c:518
heap_caps_alloc_failed
(
size
,
MALLOC_CAP_DEFAULT
,
__func__
)
;
heap_caps.c:521
#define
I2C_MEM_ALLOC_CAPS_DEFAULT
MALLOC_CAP_DEFAULT
i2c.c:115
#define
I2C_MEM_ALLOC_CAPS
(
MALLOC_CAP_DEFAULT
)
i2c_private.h:48
#define
I2S_MEM_ALLOC_CAPS
MALLOC_CAP_DEFAULT
i2s_private.h:48
#define
MCPWM_MEM_ALLOC_CAPS
MALLOC_CAP_DEFAULT
mcpwm_private.h:29
[
SOC_MEMORY_TYPE_DRAM
]
=
{
"DRAM"
,
{
MALLOC_CAP_8BIT
|
MALLOC_CAP_DEFAULT
,
MALLOC_CAP_INTERNAL
|
MALLOC_CAP_DMA
|
MALLOC_CAP_32BIT
,
0
}
}
,
memory_layout.c:49
[
SOC_MEMORY_TYPE_DIRAM
]
=
{
"D/IRAM"
,
{
0
,
MALLOC_CAP_DMA
|
MALLOC_CAP_8BIT
|
MALLOC_CAP_INTERNAL
|
MALLOC_CAP_DEFAULT
,
MALLOC_CAP_32BIT
|
MALLOC_CAP_EXEC
}
}
,
memory_layout.c:52
[
SOC_MEMORY_TYPE_SPIRAM
]
=
{
"SPIRAM"
,
{
MALLOC_CAP_SPIRAM
|
MALLOC_CAP_DEFAULT
,
0
,
MALLOC_CAP_8BIT
|
MALLOC_CAP_32BIT
}
}
,
memory_layout.c:56
[
SOC_MEMORY_TYPE_RTCRAM
]
=
{
"RTCRAM"
,
{
MALLOC_CAP_RTCRAM
,
MALLOC_CAP_8BIT
|
MALLOC_CAP_DEFAULT
,
MALLOC_CAP_INTERNAL
|
MALLOC_CAP_32BIT
|
MALLOC_CAP_EXEC
}
}
,
memory_layout.c:58
MALLOC_CAP_DEFAULT
)
;
mqtt_client.c:860
#define
MQTT_OUTBOX_MEMORY
MALLOC_CAP_DEFAULT
mqtt_config.h:114
p_pcnt_obj
[
pcnt_port
]
=
(
pcnt_obj_t
*
)
heap_caps_calloc
(
1
,
sizeof
(
pcnt_obj_t
)
,
MALLOC_CAP_DEFAULT
)
;
pcnt_legacy.c:410
#define
PCNT_MEM_ALLOC_CAPS
MALLOC_CAP_DEFAULT
pulse_cnt.c:43
#define
RMT_MEM_ALLOC_CAPS
MALLOC_CAP_DEFAULT
rmt_private.h:40
#define
SDM_MEM_ALLOC_CAPS
MALLOC_CAP_DEFAULT
sdm.c:37
p_sigmadelta_obj
[
sigmadelta_port
]
=
(
sigmadelta_obj_t
*
)
heap_caps_calloc
(
1
,
sizeof
(
sigmadelta_obj_t
)
,
MALLOC_CAP_DEFAULT
)
;
sigma_delta_legacy.c:85
#define
TWAI_MALLOC_CAPS
MALLOC_CAP_DEFAULT
twai.c:50
#define
UART_MALLOC_CAPS
MALLOC_CAP_DEFAULT
uart.c:49
#define
UART_VFS_MALLOC_FLAGS
MALLOC_CAP_DEFAULT
uart_vfs.c:49
Call Tree
from
0/19
examples
All items filtered out
All items filtered out
Data Use
from
0/19
examples
All items filtered out
All items filtered out
Class Tree
from
0/19
examples
All items filtered out
All items filtered out
Override Tree
from
0/19
examples
All items filtered out
All items filtered out
Implementations
from
0/19
examples
All items filtered out
All items filtered out
Instances
from
0/19
examples
Lifecycle
from
0/19
examples
All items filtered out
All items filtered out