X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=examples%2Fstm32p103%2Fcfg%2Fcfg_proc.h;fp=examples%2Fstm32p103%2Fcfg%2Fcfg_proc.h;h=bff5d853b9abfb3a36e9c760a5efaf1411604365;hb=18c9862abc9435165b47c78a69ef32c45da2d420;hp=b13b657a259bbe7696455ea9ad9a08ba87e6e4e5;hpb=d8a17dd99eec9aecaa60fb8beaa073fc185d8b98;p=bertos.git diff --git a/examples/stm32p103/cfg/cfg_proc.h b/examples/stm32p103/cfg/cfg_proc.h index b13b657a..bff5d853 100644 --- 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" */ -#define CONFIG_KERN_PREEMPT 0 +#define CONFIG_KERN_PREEMPT 1 /** * Time sharing quantum (a prime number prevents interference effects) [ms]. @@ -72,21 +72,21 @@ * 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" */ -#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 */ -#define CONFIG_KERN_HEAP_SIZE 16384L +#define CONFIG_KERN_HEAP_SIZE 8192L /** * Module logging level.