/**
* 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.
*
*
* $WIZ$ type = "int"
* $WIZ$ min = 1
- * $WIZ$ supports = "False"
*/
#define CONFIG_KERN_QUANTUM 47
/**
* Local heap dedicated to allocate the memory used by the processes.
*/
-static HEAP_DEFINE_BUF(heap_buf, KERN_MINSTACKSIZE * 128);
+static HEAP_DEFINE_BUF(heap_buf, CONFIG_KERN_HEAP_SIZE);
static Heap proc_heap;
/*