ESP-IDF
esp_console_setup_history()
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
Summary
Syntax
Arguments
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
esp_console_setup_history()
esp_console_setup_history() function
Syntax
Show:
Summary
Declaration
Definition
from
console_private.h:49
esp_err_t
esp_console_setup_history
(
const
char
*
history_path
,
uint32_t
max_history_len
,
esp_console_repl_com_t
*
repl_com
)
;
Implemented in
esp_console_common.c:41
Arguments
Argument
Declared as
history_path
const
char
*
max_history_len
uint32_t
repl_com
esp_console_repl_com_t
*
Examples
References
from
examples
Code
Location
Referrer
esp_err_t
esp_console_setup_history
(
const
char
*
history_path
,
uint32_t
max_history_len
,
esp_console_repl_com_t
*
repl_com
)
esp_console_common.c:41
esp_err_t
esp_console_setup_history
(
const
char
*
history_path
,
console_private.h:49
ret
=
esp_console_setup_history
(
repl_config
->
history_save_path
,
repl_config
->
max_history_len
,
&
uart_repl
->
repl_com
)
;
esp_console_repl_chip.c:249
esp_console_new_repl_uart()
Call Tree
from
examples
esp_console_setup_history()
is called by 1 function and calls 4 functions:
esp_console_new_repl_uart()
All items filtered out
esp_console_setup_history()
esp_log_timestamp()
esp_log_write()
linenoiseHistorySetMaxLen()
linenoiseHistoryLoad()
All items filtered out
Data Use
from
examples
esp_console_setup_history()
reads 6 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
TAG
All items filtered out
esp_console_setup_history()
esp_console_repl_com_t::history_save_path
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