From 0b866648e1a40b805e718d9b0164f3d5ccb84284 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Krzysztof=20Chru=C5=9Bci=C5=84ski?= Date: Fri, 28 Mar 2025 09:53:08 +0100 Subject: [PATCH] debug: cpu_load: Fix CPU_LOAD_USE_COUNTER config MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit dt_chosen_enabled argument was incorrect and it was always returning n so option could not be used. Signed-off-by: Krzysztof Chruściński --- subsys/debug/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/subsys/debug/Kconfig b/subsys/debug/Kconfig index af28810ed4b..c3fd9619270 100644 --- a/subsys/debug/Kconfig +++ b/subsys/debug/Kconfig @@ -443,7 +443,7 @@ DT_CHOSEN_Z_CPU_LOAD_COUNTER := zephyr,cpu-load-counter config CPU_LOAD_USE_COUNTER bool "Use counter" - depends on $(dt_chosen_enabled,DT_CHOSEN_Z_CPU_LOAD_COUNTER) + depends on $(dt_chosen_enabled,$(DT_CHOSEN_Z_CPU_LOAD_COUNTER)) default y select COUNTER help