From bf3b42204cac442914e6a54450f4e971a52a8ad9 Mon Sep 17 00:00:00 2001 From: Joe Kearney Date: Sat, 10 Jan 2026 13:39:30 -0600 Subject: [PATCH] Tried to add command history. --- components/Console/Console.c | 1 + sdkconfig | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/components/Console/Console.c b/components/Console/Console.c index ea8d457..8790cb7 100644 --- a/components/Console/Console.c +++ b/components/Console/Console.c @@ -387,6 +387,7 @@ void Initialize_Console(void) esp_console_repl_config_t repl_cfg = ESP_CONSOLE_REPL_CONFIG_DEFAULT(); repl_cfg.prompt = "KTag>"; repl_cfg.max_cmdline_length = 1024; + repl_cfg.max_history_len = 16; log_config_load(); register_log_command(); diff --git a/sdkconfig b/sdkconfig index 03ea0d5..1613bf3 100644 --- a/sdkconfig +++ b/sdkconfig @@ -450,7 +450,7 @@ CONFIG_BOOTLOADER_LOG_LEVEL=3 # # Format # -# CONFIG_BOOTLOADER_LOG_COLORS is not set +CONFIG_BOOTLOADER_LOG_COLORS=y CONFIG_BOOTLOADER_LOG_TIMESTAMP_SOURCE_CPU_TICKS=y # end of Format @@ -1976,7 +1976,7 @@ CONFIG_LOG_TAG_LEVEL_IMPL_CACHE_SIZE=31 # # Format # -# CONFIG_LOG_COLORS is not set +CONFIG_LOG_COLORS=y CONFIG_LOG_TIMESTAMP_SOURCE_RTOS=y # CONFIG_LOG_TIMESTAMP_SOURCE_SYSTEM is not set # end of Format