From fd8bd1af65d3eaea3040d74df3d76b51577a67a6 Mon Sep 17 00:00:00 2001 From: arighi Date: Thu, 20 May 2010 09:47:57 +0000 Subject: [PATCH] benchmark: enable kernel heap in kernel_footprint benchmark for all the supported boards. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@3732 38d2e660-2303-0410-9eaa-f027e97ec537 --- .../ek-lm3s1968/benchmark/kernel_footprint/cfg/cfg_proc.h | 2 +- .../ek-lpc-p2378/benchmark/kernel_footprint/cfg/cfg_proc.h | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/boards/ek-lm3s1968/benchmark/kernel_footprint/cfg/cfg_proc.h b/boards/ek-lm3s1968/benchmark/kernel_footprint/cfg/cfg_proc.h index ef228257..ab1a4680 100644 --- a/boards/ek-lm3s1968/benchmark/kernel_footprint/cfg/cfg_proc.h +++ b/boards/ek-lm3s1968/benchmark/kernel_footprint/cfg/cfg_proc.h @@ -79,7 +79,7 @@ * $WIZ$ type = "boolean" * $WIZ$ conditional_deps = "heap" */ -#define CONFIG_KERN_HEAP 0 +#define CONFIG_KERN_HEAP 1 /** * Size of the dynamic memory pool used by processes. diff --git a/boards/ek-lpc-p2378/benchmark/kernel_footprint/cfg/cfg_proc.h b/boards/ek-lpc-p2378/benchmark/kernel_footprint/cfg/cfg_proc.h index 719217b6..ab1a4680 100644 --- a/boards/ek-lpc-p2378/benchmark/kernel_footprint/cfg/cfg_proc.h +++ b/boards/ek-lpc-p2378/benchmark/kernel_footprint/cfg/cfg_proc.h @@ -58,7 +58,7 @@ * $WIZ$ type = "boolean" * $WIZ$ conditional_deps = "timer" */ -#define CONFIG_KERN_PREEMPT 0 +#define CONFIG_KERN_PREEMPT 1 /** * Time sharing quantum (a prime number prevents interference effects) [ms]. @@ -72,14 +72,14 @@ * Priority-based scheduling policy. * $WIZ$ type = "boolean" */ -#define CONFIG_KERN_PRI 0 +#define CONFIG_KERN_PRI 1 /** * Dynamic memory allocation for processes. * $WIZ$ type = "boolean" * $WIZ$ conditional_deps = "heap" */ -#define CONFIG_KERN_HEAP 0 +#define CONFIG_KERN_HEAP 1 /** * Size of the dynamic memory pool used by processes. -- 2.25.1