From 258718666d39e0a725063866458cf692d70ada76 Mon Sep 17 00:00:00 2001 From: Shubham Patil Date: Tue, 6 Jun 2023 14:49:14 +0530 Subject: [PATCH] Fix the incoming IM messages not being shown when debug logs are enabled (#27072) --- config/esp32/components/chip/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/config/esp32/components/chip/CMakeLists.txt b/config/esp32/components/chip/CMakeLists.txt index 7c0fc01d077f8a..0580b0375ddc15 100644 --- a/config/esp32/components/chip/CMakeLists.txt +++ b/config/esp32/components/chip/CMakeLists.txt @@ -85,6 +85,10 @@ chip_gn_arg_append("esp32_cxx" "\"${CMAKE_CXX_COMPILER}\"") chip_gn_arg_append("esp32_cpu" "\"esp32\"") chip_gn_arg_bool("is_debug" ${is_debug}) +if (CONFIG_CHIP_CONFIG_IM_PRETTY_PRINT) + chip_gn_arg_bool("enable_im_pretty_print" "true") +endif() + # Config the chip log level by IDF menuconfig if (CONFIG_LOG_DEFAULT_LEVEL GREATER_EQUAL 1) chip_gn_arg_bool ("chip_error_logging" "true")