From ca94852601e59f47f27fd8a1e989ea2f1554b58d Mon Sep 17 00:00:00 2001 From: WanqQixiang Date: Fri, 7 Jan 2022 17:31:04 +0800 Subject: [PATCH] Increase chip shell task stack size for esp32 platform --- examples/platform/esp32/shell_extension/launch.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/examples/platform/esp32/shell_extension/launch.cpp b/examples/platform/esp32/shell_extension/launch.cpp index 59bd147b7d07cd..2a4371908297bc 100644 --- a/examples/platform/esp32/shell_extension/launch.cpp +++ b/examples/platform/esp32/shell_extension/launch.cpp @@ -37,10 +37,11 @@ namespace chip { void LaunchShell() { + chip::Shell::Engine::Root().Init(); #if CONFIG_HEAP_TRACING_STANDALONE || CONFIG_HEAP_TASK_TRACKING idf::chip::RegisterHeapTraceCommands(); #endif // CONFIG_HEAP_TRACING_STANDALONE || CONFIG_HEAP_TASK_TRACKING - xTaskCreate(&MatterShellTask, "chip_cli", 2048, NULL, 5, NULL); + xTaskCreate(&MatterShellTask, "chip_cli", 2560, NULL, 5, NULL); } } // namespace chip