From: arighi Date: Thu, 18 Mar 2010 15:46:25 +0000 (+0000) Subject: examples: update at91sam7 configuration. X-Git-Tag: 2.4.0~20 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;ds=sidebyside;h=287e07072af695487071abb94c040be0bfe3f576;hp=d129ecbbe665bcd66b2f5ff6eb6d09774e463a70;p=bertos.git examples: update at91sam7 configuration. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@3244 38d2e660-2303-0410-9eaa-f027e97ec537 --- diff --git a/examples/at91sam7/cfg/cfg_proc.h b/examples/at91sam7/cfg/cfg_proc.h index f63d0d67..076b3231 100644 --- a/examples/at91sam7/cfg/cfg_proc.h +++ b/examples/at91sam7/cfg/cfg_proc.h @@ -47,23 +47,31 @@ #define CONFIG_KERN 1 /** - * Kernel interrupt supervisor. + * Kernel interrupt supervisor. WARNING: Experimental, still incomplete! * $WIZ$ type = "boolean" + * $WIZ$ supports = "False" */ #define CONFIG_KERN_IRQ 0 /** * Dynamic memory allocation for processes. - * * $WIZ$ type = "boolean" - * $WIZ$ supports = "False" + * $WIZ$ conditional_deps = "heap" */ #define CONFIG_KERN_HEAP 0 /** - * Preemptive process scheduling. WARNING: Experimental, still incomplete! + * Size of the dynamic memory pool used by processes. + * $WIZ$ type = "int" + * $WIZ$ min = 0 + */ +#define CONFIG_KERN_HEAP_SIZE 16386L + +/** + * Preemptive process scheduling. * * $WIZ$ type = "boolean" + * $WIZ$ conditional_deps = "timer", "idle" */ #define CONFIG_KERN_PREEMPT 1 @@ -77,7 +85,7 @@ * Time sharing quantum (a prime number prevents interference effects) [ms]. * * $WIZ$ type = "int" - * $WIZ$ min = "0" + * $WIZ$ min = 1 */ #define CONFIG_KERN_QUANTUM 11