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 <Chaitanya.Tata@nordicsemi.no>
This commit is contained in:
Chaitanya Tata 2024-05-29 00:18:30 +05:30 committed by David Leach
commit 40de2cbc0d

View file

@ -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