09fd6b6ea5
Using this new library it is now possible to leverage the memory attribute property 'zephyr,memory-attr' to define and create a set of memory heaps from which the user can allocate memory from with certain attributes / capabilities. When the CONFIG_MEM_ATTR_HEAP option is set, every region marked with one of the memory attributes listed in include/zephyr/dt-bindings/memory-attr/memory-attr-sw.h is added to a pool of memory heaps used for dynamic allocation of memory buffers with certain attributes. Signed-off-by: Carlo Caione <ccaione@baylibre.com>
5 lines
147 B
CMake
5 lines
147 B
CMake
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
zephyr_sources_ifdef(CONFIG_MEM_ATTR mem_attr.c)
|
|
zephyr_sources_ifdef(CONFIG_MEM_ATTR_HEAP mem_attr_heap.c)
|