diff --git a/components/heap/CMakeLists.txt b/components/heap/CMakeLists.txt index b7dd5d9ac1..9c4ccf16d9 100644 --- a/components/heap/CMakeLists.txt +++ b/components/heap/CMakeLists.txt @@ -12,7 +12,15 @@ register_component() if(CONFIG_HEAP_TRACING) set(WRAP_FUNCTIONS - calloc malloc free realloc heap_caps_malloc heap_caps_free heap_caps_realloc) + calloc + malloc + free + realloc + heap_caps_malloc + heap_caps_free + heap_caps_realloc + heap_caps_malloc_default + heap_caps_realloc_default) foreach(wrap ${WRAP_FUNCTIONS}) target_link_libraries(heap "-Wl,--wrap=${wrap}")