You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by ac...@apache.org on 2022/11/08 13:18:37 UTC

[incubator-nuttx] 03/04: mm: Let MM_SMALL and MM_REGIONS depend on MM_DEFAULT_MANAGER

This is an automated email from the ASF dual-hosted git repository.

acassis pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git

commit d6b5a345a47860b450a1128ae6e79e811ae9915f
Author: Xiang Xiao <xi...@xiaomi.com>
AuthorDate: Sun Nov 6 00:29:11 2022 +0800

    mm: Let MM_SMALL and MM_REGIONS depend on MM_DEFAULT_MANAGER
    
    since these options are coupled with the default heap implementation
    
    Signed-off-by: Xiang Xiao <xi...@xiaomi.com>
---
 mm/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/mm/Kconfig b/mm/Kconfig
index 414018532a..d604703581 100644
--- a/mm/Kconfig
+++ b/mm/Kconfig
@@ -51,6 +51,7 @@ config MM_KERNEL_HEAPSIZE
 config MM_SMALL
 	bool "Small memory model"
 	default n
+	depends on MM_DEFAULT_MANAGER
 	---help---
 		Each memory allocation has a small allocation overhead.  The size
 		of that overhead is normally determined by the "width" of the