Make kernel heap for processes optional and fully configurable from the wizard.
[bertos.git] / bertos / kern / proc.c
index 18c89599eb689dcce8344ef5be7a9af626f669d2..713c457f9c701820cf8d32a26e11d9d719b926db 100644 (file)
@@ -85,7 +85,7 @@ static struct Process main_process;
 /**
  * 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;
 
 /*