From ab2e3c8c6b808390634d5065e41b1bf31e9eb600 Mon Sep 17 00:00:00 2001 From: batt Date: Mon, 22 Mar 2010 16:29:37 +0000 Subject: [PATCH] Add heap module. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@3256 38d2e660-2303-0410-9eaa-f027e97ec537 --- bertos/cfg/cfg_heap.h | 5 ++++- bertos/struct/heap.h | 3 +++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/bertos/cfg/cfg_heap.h b/bertos/cfg/cfg_heap.h index 0cba377b..dc4b1fa3 100644 --- a/bertos/cfg/cfg_heap.h +++ b/bertos/cfg/cfg_heap.h @@ -40,7 +40,10 @@ #ifndef CFG_HEAP_H #define CFG_HEAP_H -/// TODO +/** + * Enable malloc/free like API. + * $WIZ$ type = "boolean" + */ #define CONFIG_HEAP_MALLOC 1 #endif /* CFG_HEAP_H */ diff --git a/bertos/struct/heap.h b/bertos/struct/heap.h index bcc54d52..ad362a6b 100644 --- a/bertos/struct/heap.h +++ b/bertos/struct/heap.h @@ -38,6 +38,9 @@ * * \version $Id$ * \author Bernie Innocenti + * + * $WIZ$ module_name = "heap" + * $WIZ$ module_configuration = "bertos/cfg/cfg_heap.h" */ #ifndef STRUCT_HEAP_H -- 2.25.1