X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=examples%2Fat91sam7%2Fcfg%2Fcfg_proc.h;h=c59f6715cbc8267ee2bc5daebe148343e17c4645;hb=e1510c810a9169e2aa6661e95c8306cf995ad6cd;hp=f63d0d67156b46ac415744bbc8e0492b368ab15d;hpb=56bc2446f9445052fb0d7b1643628bbf4fc3cfe0;p=bertos.git diff --git a/examples/at91sam7/cfg/cfg_proc.h b/examples/at91sam7/cfg/cfg_proc.h index f63d0d67..c59f6715 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 16384L + +/** + * Preemptive process scheduling. * * $WIZ$ type = "boolean" + * $WIZ$ conditional_deps = "timer" */ #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