projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
lm3s1968: enable kernel preemption in the example.
[bertos.git]
/
examples
/
lm3s1968
/
cfg
/
cfg_proc.h
diff --git
a/examples/lm3s1968/cfg/cfg_proc.h
b/examples/lm3s1968/cfg/cfg_proc.h
index 3c9439fb0b002097067e74d87e98ffb16ea57e89..eb5506b412d165af24b1abe1b55542deb7ce2f85 100644
(file)
--- a/
examples/lm3s1968/cfg/cfg_proc.h
+++ b/
examples/lm3s1968/cfg/cfg_proc.h
@@
-43,7
+43,7
@@
*
* $WIZ$ type = "autoenabled"
*/
*
* $WIZ$ type = "autoenabled"
*/
-#define CONFIG_KERN
0
+#define CONFIG_KERN
1
/**
* Kernel interrupt supervisor. WARNING: Experimental, still incomplete!
/**
* Kernel interrupt supervisor. WARNING: Experimental, still incomplete!
@@
-58,7
+58,7
@@
* $WIZ$ type = "boolean"
* $WIZ$ conditional_deps = "timer"
*/
* $WIZ$ type = "boolean"
* $WIZ$ conditional_deps = "timer"
*/
-#define CONFIG_KERN_PREEMPT
0
+#define CONFIG_KERN_PREEMPT
1
/**
* Time sharing quantum (a prime number prevents interference effects) [ms].
/**
* Time sharing quantum (a prime number prevents interference effects) [ms].
@@
-72,21
+72,21
@@
* Priority-based scheduling policy.
* $WIZ$ type = "boolean"
*/
* Priority-based scheduling policy.
* $WIZ$ type = "boolean"
*/
-#define CONFIG_KERN_PRI
0
+#define CONFIG_KERN_PRI
1
/**
* Dynamic memory allocation for processes.
* $WIZ$ type = "boolean"
* $WIZ$ conditional_deps = "heap"
*/
/**
* Dynamic memory allocation for processes.
* $WIZ$ type = "boolean"
* $WIZ$ conditional_deps = "heap"
*/
-#define CONFIG_KERN_HEAP
0
+#define CONFIG_KERN_HEAP
1
/**
* Size of the dynamic memory pool used by processes.
* $WIZ$ type = "int"
* $WIZ$ min = 0
*/
/**
* Size of the dynamic memory pool used by processes.
* $WIZ$ type = "int"
* $WIZ$ min = 0
*/
-#define CONFIG_KERN_HEAP_SIZE
2048
L
+#define CONFIG_KERN_HEAP_SIZE
16384
L
/**
* Module logging level.
/**
* Module logging level.