projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix BeRTOS version related bug.
[bertos.git]
/
bertos
/
cfg
/
cfg_proc.h
diff --git
a/bertos/cfg/cfg_proc.h
b/bertos/cfg/cfg_proc.h
index 1cd5a191a10de59d5c7f4aad1019d9d0b15c453a..4a1deb294ddceff18bbe03e792d49883e09c80ca 100644
(file)
--- a/
bertos/cfg/cfg_proc.h
+++ b/
bertos/cfg/cfg_proc.h
@@
-54,20
+54,20
@@
#define CONFIG_KERN_IRQ 0
/**
#define CONFIG_KERN_IRQ 0
/**
- *
Dynamic memory allocation for processes
.
+ *
Preemptive process scheduling
.
*
* $WIZ$ type = "boolean"
*
* $WIZ$ type = "boolean"
- * $WIZ$
supports = "False
"
+ * $WIZ$
conditional_deps = "timer
"
*/
*/
-#define CONFIG_KERN_
HEAP
0
+#define CONFIG_KERN_
PREEMPT
0
/**
/**
- *
Preemptive process scheduling
.
+ *
Time sharing quantum (a prime number prevents interference effects) [ms]
.
*
*
- * $WIZ$ type = "
boolean
"
- * $WIZ$
conditional_deps = "timer", "idle"
+ * $WIZ$ type = "
int
"
+ * $WIZ$
min = 1
*/
*/
-#define CONFIG_KERN_
PREEMPT 0
+#define CONFIG_KERN_
QUANTUM 11
/**
* Priority-based scheduling policy.
/**
* Priority-based scheduling policy.
@@
-76,13
+76,18
@@
#define CONFIG_KERN_PRI 0
/**
#define CONFIG_KERN_PRI 0
/**
- * Time sharing quantum (a prime number prevents interference effects) [ms].
- *
+ * Dynamic memory allocation for processes.
+ * $WIZ$ type = "boolean"
+ * $WIZ$ conditional_deps = "heap"
+ */
+#define CONFIG_KERN_HEAP 0
+
+/**
+ * Size of the dynamic memory pool used by processes.
* $WIZ$ type = "int"
* $WIZ$ type = "int"
- * $WIZ$ min = 1
- * $WIZ$ supports = "False"
+ * $WIZ$ min = 0
*/
*/
-#define CONFIG_KERN_
QUANTUM 47
+#define CONFIG_KERN_
HEAP_SIZE 2048L
/**
* Module logging level.
/**
* Module logging level.