mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
heap: Compile heap_task_info.c conditionally on CONFIG_HEAP_TASK_TRACKING in heap CMakeLists.txt
Merges https://github.com/espressif/esp-idf/pull/2498
This commit is contained in:
parent
288d9b75e9
commit
b358581ab8
@ -7,6 +7,10 @@ if(NOT CONFIG_HEAP_POISONING_DISABLED)
|
||||
list(APPEND COMPONENT_SRCS "multi_heap_poisoning.c")
|
||||
endif()
|
||||
|
||||
if(CONFIG_HEAP_TASK_TRACKING)
|
||||
list(APPEND COMPONENT_SRCS "heap_task_info.c")
|
||||
endif()
|
||||
|
||||
set(COMPONENT_ADD_INCLUDEDIRS "include")
|
||||
|
||||
set(COMPONENT_REQUIRES "")
|
||||
|
Loading…
x
Reference in New Issue
Block a user