Make kernel heap for processes optional and fully configurable from the wizard.
[bertos.git] / bertos / cfg / cfg_proc.h
index 12be30b841a2dfc84f90dc0bf20ca48f8323240e..97985a991e819dcdbbf8351b39903fd7f37e996e 100644 (file)
 
 /**
  * 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
 
@@ -80,7 +86,6 @@
  *
  * $WIZ$ type = "int"
  * $WIZ$ min = 1
- * $WIZ$ supports = "False"
  */
 #define CONFIG_KERN_QUANTUM 47