projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Make kernel heap for processes optional and fully configurable from the wizard.
[bertos.git]
/
bertos
/
cfg
/
cfg_proc.h
diff --git
a/bertos/cfg/cfg_proc.h
b/bertos/cfg/cfg_proc.h
index 52e245265e745907bd2ae113c9aef253edaf18a2..97985a991e819dcdbbf8351b39903fd7f37e996e 100644
(file)
--- a/
bertos/cfg/cfg_proc.h
+++ b/
bertos/cfg/cfg_proc.h
@@
-55,17
+55,23
@@
/**
* Dynamic memory allocation for processes.
/**
* Dynamic memory allocation for processes.
- *
* $WIZ$ type = "boolean"
* $WIZ$ type = "boolean"
- * $WIZ$
supports = "False
"
+ * $WIZ$
conditional_deps = "heap
"
*/
#define CONFIG_KERN_HEAP 0
/**
*/
#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$ type = "boolean"
- * $WIZ$
supports = "Fals
e"
+ * $WIZ$
conditional_deps = "timer", "idl
e"
*/
#define CONFIG_KERN_PREEMPT 0
*/
#define CONFIG_KERN_PREEMPT 0