Make kernel heap for processes optional and fully configurable from the wizard.
[bertos.git] / bertos / cfg / cfg_proc.h
index 1cd5a191a10de59d5c7f4aad1019d9d0b15c453a..97985a991e819dcdbbf8351b39903fd7f37e996e 100644 (file)
 
 /**
  * Dynamic memory allocation for processes.
- *
  * $WIZ$ type = "boolean"
- * $WIZ$ supports = "False"
+ * $WIZ$ conditional_deps = "heap"
  */
 #define CONFIG_KERN_HEAP 0
 
+/**
+ * Size of the dynamic memory pool used by processes.
+ * $WIZ$ type = "int"
+ * $WIZ$ min = 0
+ */
+#define CONFIG_KERN_HEAP_SIZE 8192L
+
 /**
  * Preemptive process scheduling.
  *
@@ -80,7 +86,6 @@
  *
  * $WIZ$ type = "int"
  * $WIZ$ min = 1
- * $WIZ$ supports = "False"
  */
 #define CONFIG_KERN_QUANTUM 47