ESP-IDF
esp_console_config_t::heap_alloc_caps
is only used within ESP-IDF.
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
esp_console_config_t::heap_alloc_caps
esp_console_config_t::heap_alloc_caps field
Syntax
Show:
Summary
Declaration
from
esp_console.h:28
uint32_t
heap_alloc_caps
;
Examples
References
from
examples
Code
Location
Referrer
uint32_t
heap_alloc_caps
;
//!< where to (e.g. MALLOC_CAP_SPIRAM) allocate heap objects such as cmds used by esp_console
esp_console.h:28
.
heap_alloc_caps
=
MALLOC_CAP_DEFAULT
commands.c:49
if
(
s_config
.
heap_alloc_caps
==
0
)
{
commands.c:71
esp_console_init()
s_config
.
heap_alloc_caps
=
MALLOC_CAP_DEFAULT
;
commands.c:72
esp_console_init()
s_tmp_line_buf
=
heap_caps_calloc
(
1
,
config
->
max_cmdline_length
,
s_config
.
heap_alloc_caps
)
;
commands.c:74
esp_console_init()
item
=
heap_caps_calloc
(
1
,
sizeof
(
*
item
)
,
s_config
.
heap_alloc_caps
)
;
commands.c:130
esp_console_cmd_register()
char
*
*
argv
=
(
char
*
*
)
heap_caps_calloc
(
s_config
.
max_cmdline_args
,
sizeof
(
char
*
)
,
s_config
.
heap_alloc_caps
)
;
commands.c:239
esp_console_run()
esp_console_config_t
console_config
=
ESP_CONSOLE_CONFIG_DEFAULT
(
)
;
esp_console_common.c:66
esp_console_common_init()
esp_console_config_t
console_config
=
ESP_CONSOLE_CONFIG_DEFAULT
(
)
;
esp_openthread_cli.c:70
ot_cli_loop()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
esp_console_config_t::heap_alloc_caps
is written by 1 function and is read by 3 functions:
esp_console_init()
All items filtered out
esp_console_config_t::heap_alloc_caps
esp_console_init()
esp_console_cmd_register()
esp_console_run()
All items filtered out
Class Tree
from
examples
All items filtered out
All items filtered out
Override Tree
from
examples
All items filtered out
All items filtered out
Implementations
from
examples
All items filtered out
All items filtered out
Instances
from
examples
Lifecycle
from
examples
All items filtered out
All items filtered out