X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=examples%2Fstm32p103%2Fcfg%2Fcfg_proc.h;h=bff5d853b9abfb3a36e9c760a5efaf1411604365;hb=e1510c810a9169e2aa6661e95c8306cf995ad6cd;hp=b13b657a259bbe7696455ea9ad9a08ba87e6e4e5;hpb=9894dd2c3a530cf89e5f8011b88a5c18be836e1b;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.