summaryrefslogtreecommitdiff
path: root/src/memory/CMakeLists.txt
diff options
context:
space:
mode:
authorjacqueline <me@jacqueline.id.au>2023-09-26 11:23:53 +1000
committerjacqueline <me@jacqueline.id.au>2023-09-26 11:23:53 +1000
commitf6d06421090f88094aba76b72b04d614f54efafa (patch)
tree6eabf0f6a9f69773289eb4ae616c9f1d771db9c3 /src/memory/CMakeLists.txt
parent2849399d5470bcd9646bf6a4f0f861e3029a5135 (diff)
downloadtangara-fw-f6d06421090f88094aba76b72b04d614f54efafa.tar.gz
Prepare for PMR with a memory_resource that understands heap_caps_malloc
Diffstat (limited to 'src/memory/CMakeLists.txt')
-rw-r--r--src/memory/CMakeLists.txt5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/memory/CMakeLists.txt b/src/memory/CMakeLists.txt
index 441c6659..bd162e18 100644
--- a/src/memory/CMakeLists.txt
+++ b/src/memory/CMakeLists.txt
@@ -2,5 +2,8 @@
#
# SPDX-License-Identifier: GPL-3.0-only
-idf_component_register(SRCS "arena.cpp" INCLUDE_DIRS "include" REQUIRES "span" "esp_psram")
+idf_component_register(
+ SRCS "memory_resource.cpp" "allocator.cpp"
+ INCLUDE_DIRS "include"
+ REQUIRES "esp_psram")
target_compile_options(${COMPONENT_LIB} PRIVATE ${EXTRA_WARNINGS})