Chaitanya Tata
40de2cbc0d
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>
2024-05-31 09:55:28 -05:00
Anas Nashif
d4c881da04
lib: mem_block: move to own folder
...
Move mem_block into own folder and seperate from lib/os and heap
configuration.
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2023-12-13 17:27:54 -05:00
Anas Nashif
740d0c3b50
lib: heap: make multi-heap feature configurable
...
Make multi-heap configurable via Kconfig and adapt existing tests.
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2023-12-13 17:27:54 -05:00
Anas Nashif
d398e9631b
lib: heap: build heap_info conditionally
...
Only build when needed and adapt existing users to pull this in when
needed.
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2023-12-13 17:27:54 -05:00
Anas Nashif
d6d716b32a
lib: heap: build heap utilities only on demand
...
Build the heap features only when needed and based on Kconfigs being
set.
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2023-12-13 17:27:54 -05:00
Anas Nashif
6cb588820f
lib: os: move heap to own folder
...
consolidate all heap related files and implementation into one folder.
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2023-12-13 17:27:54 -05:00