X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fcfg%2Fcfg_proc.h;h=cb66e2735fc9614bca823805ee3c7649c27c964f;hb=56bc2446f9445052fb0d7b1643628bbf4fc3cfe0;hp=52e245265e745907bd2ae113c9aef253edaf18a2;hpb=9ff4e7d506adcf5c3cf8ef603279bd540c2e792b;p=bertos.git diff --git a/bertos/cfg/cfg_proc.h b/bertos/cfg/cfg_proc.h index 52e24526..cb66e273 100644 --- a/bertos/cfg/cfg_proc.h +++ b/bertos/cfg/cfg_proc.h @@ -55,17 +55,23 @@ /** * 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 8192L + +/** + * Preemptive process scheduling. * * $WIZ$ type = "boolean" - * $WIZ$ supports = "False" + * $WIZ$ conditional_deps = "timer", "idle" */ #define CONFIG_KERN_PREEMPT 0 @@ -81,7 +87,7 @@ * $WIZ$ type = "int" * $WIZ$ min = 1 */ -#define CONFIG_KERN_QUANTUM 47 +#define CONFIG_KERN_QUANTUM 11 /** * Module logging level.