Added console with one command (so far). #11
2 changed files with 3 additions and 2 deletions
|
|
@ -387,6 +387,7 @@ void Initialize_Console(void)
|
||||||
esp_console_repl_config_t repl_cfg = ESP_CONSOLE_REPL_CONFIG_DEFAULT();
|
esp_console_repl_config_t repl_cfg = ESP_CONSOLE_REPL_CONFIG_DEFAULT();
|
||||||
repl_cfg.prompt = "KTag>";
|
repl_cfg.prompt = "KTag>";
|
||||||
repl_cfg.max_cmdline_length = 1024;
|
repl_cfg.max_cmdline_length = 1024;
|
||||||
|
repl_cfg.max_history_len = 16;
|
||||||
|
|
||||||
log_config_load();
|
log_config_load();
|
||||||
register_log_command();
|
register_log_command();
|
||||||
|
|
|
||||||
|
|
@ -450,7 +450,7 @@ CONFIG_BOOTLOADER_LOG_LEVEL=3
|
||||||
#
|
#
|
||||||
# Format
|
# Format
|
||||||
#
|
#
|
||||||
# CONFIG_BOOTLOADER_LOG_COLORS is not set
|
CONFIG_BOOTLOADER_LOG_COLORS=y
|
||||||
CONFIG_BOOTLOADER_LOG_TIMESTAMP_SOURCE_CPU_TICKS=y
|
CONFIG_BOOTLOADER_LOG_TIMESTAMP_SOURCE_CPU_TICKS=y
|
||||||
# end of Format
|
# end of Format
|
||||||
|
|
||||||
|
|
@ -1976,7 +1976,7 @@ CONFIG_LOG_TAG_LEVEL_IMPL_CACHE_SIZE=31
|
||||||
#
|
#
|
||||||
# Format
|
# Format
|
||||||
#
|
#
|
||||||
# CONFIG_LOG_COLORS is not set
|
CONFIG_LOG_COLORS=y
|
||||||
CONFIG_LOG_TIMESTAMP_SOURCE_RTOS=y
|
CONFIG_LOG_TIMESTAMP_SOURCE_RTOS=y
|
||||||
# CONFIG_LOG_TIMESTAMP_SOURCE_SYSTEM is not set
|
# CONFIG_LOG_TIMESTAMP_SOURCE_SYSTEM is not set
|
||||||
# end of Format
|
# end of Format
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue