Make kernel heap for processes optional and fully configurable from the wizard.
[bertos.git] / bertos / cfg / cfg_proc.h
index b2337bf25e6202f4efd600f9d58ac8135344554a..97985a991e819dcdbbf8351b39903fd7f37e996e 100644 (file)
 
 /**
  * Dynamic memory allocation for processes.
- *
  * $WIZ$ type = "boolean"
+ * $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