Make kernel heap for processes optional and fully configurable from the wizard.
[bertos.git] / bertos / cfg / cfg_proc.h
index e4489517cd177cb81aebfad4c30e592969cab07c..97985a991e819dcdbbf8351b39903fd7f37e996e 100644 (file)
 #define CONFIG_KERN 0
 
 /**
- * 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$ 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$ conditional_deps = "timer", "idle"
  */
 #define CONFIG_KERN_PREEMPT 0
 
@@ -76,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 47