From 40de2cbc0ded311962cc73f9b8d39760f2a3c726 Mon Sep 17 00:00:00 2001 From: Chaitanya Tata Date: Wed, 29 May 2024 00:18:30 +0530 Subject: [PATCH] lib: heap: Add dependency for asserts There is no point in having heap validation enabled but without asserts, as nothing is reported to the user. Add this dependency to make sure this option is useful. Signed-off-by: Chaitanya Tata --- lib/heap/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/heap/Kconfig b/lib/heap/Kconfig index 7f01b280b3b..89ede278006 100644 --- a/lib/heap/Kconfig +++ b/lib/heap/Kconfig @@ -6,6 +6,7 @@ menu "Heap and Memory Allocation" config SYS_HEAP_VALIDATE bool "Internal heap validity checking" + depends on ASSERT help The sys_heap implementation is instrumented for extensive internal validation. Leave this off by default, unless