projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
arduino: give a name to the empty preset.
[bertos.git]
/
examples
/
at91sam7
/
cfg
/
cfg_proc.h
diff --git
a/examples/at91sam7/cfg/cfg_proc.h
b/examples/at91sam7/cfg/cfg_proc.h
index 9f5f3a2568a99b91617009742b0ec30d444c41ef..c59f6715cbc8267ee2bc5daebe148343e17c4645 100644
(file)
--- a/
examples/at91sam7/cfg/cfg_proc.h
+++ b/
examples/at91sam7/cfg/cfg_proc.h
@@
-47,39
+47,47
@@
#define CONFIG_KERN 1
/**
#define CONFIG_KERN 1
/**
- * Kernel interrupt supervisor.
+ * Kernel interrupt supervisor.
WARNING: Experimental, still incomplete!
* $WIZ$ type = "boolean"
* $WIZ$ type = "boolean"
+ * $WIZ$ supports = "False"
*/
#define CONFIG_KERN_IRQ 0
/**
* Dynamic memory allocation for processes.
*/
#define CONFIG_KERN_IRQ 0
/**
* 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 16384L
+
+/**
+ * Preemptive process scheduling.
*
* $WIZ$ type = "boolean"
*
* $WIZ$ type = "boolean"
+ * $WIZ$ conditional_deps = "timer"
*/
*/
-#define CONFIG_KERN_PREEMPT
0
+#define CONFIG_KERN_PREEMPT
1
/**
* Priority-based scheduling policy.
* $WIZ$ type = "boolean"
*/
/**
* Priority-based scheduling policy.
* $WIZ$ type = "boolean"
*/
-#define CONFIG_KERN_PRI
0
+#define CONFIG_KERN_PRI
1
/**
* Time sharing quantum (a prime number prevents interference effects) [ms].
*
* $WIZ$ type = "int"
/**
* Time sharing quantum (a prime number prevents interference effects) [ms].
*
* $WIZ$ type = "int"
- * $WIZ$ min =
"0"
+ * $WIZ$ min =
1
*/
*/
-#define CONFIG_KERN_QUANTUM
47
+#define CONFIG_KERN_QUANTUM
11
/**
* Module logging level.
/**
* Module logging level.