projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Move the example into board preset.
[bertos.git]
/
examples
/
stm32p103
/
cfg
/
cfg_proc.h
diff --git
a/examples/stm32p103/cfg/cfg_proc.h
b/examples/stm32p103/cfg/cfg_proc.h
index b13b657a259bbe7696455ea9ad9a08ba87e6e4e5..bff5d853b9abfb3a36e9c760a5efaf1411604365 100644
(file)
--- a/
examples/stm32p103/cfg/cfg_proc.h
+++ b/
examples/stm32p103/cfg/cfg_proc.h
@@
-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
16384
L
+#define CONFIG_KERN_HEAP_SIZE
8192
L
/**
* Module logging level.
/**
* Module logging level.