1# Copyright (c) 2023 Carlo Caione <ccaione@baylibre.com> 2# SPDX-License-Identifier: Apache-2.0 3 4config MEM_ATTR 5 bool "Memory Attributes management library" 6 default y if ARM_MPU 7 help 8 Enable a small library to manage the memory regions defined in the DT 9 with a `zephyr,memory-attr` property. This library builds at build 10 time an array of the memory regions defined in the DT that can be 11 probed at run-time using several helper functions. Set to `N` if 12 unsure to save RODATA space. 13 14config MEM_ATTR_HEAP 15 bool "Memory Attributes heap allocator" 16 depends on MEM_ATTR 17 help 18 Enable an heap allocator based on memory attributes to dynamically 19 allocate memory from DeviceTree defined memory regions. 20