From 987af80e4f01eede282792e6932054d1b111745f Mon Sep 17 00:00:00 2001 From: batt Date: Fri, 3 Oct 2008 14:20:42 +0000 Subject: [PATCH] Disable preemptive kernel (not working). git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1867 38d2e660-2303-0410-9eaa-f027e97ec537 --- bertos/cfg/cfg_kern.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bertos/cfg/cfg_kern.h b/bertos/cfg/cfg_kern.h index fffc9ca7..bc4594a4 100644 --- a/bertos/cfg/cfg_kern.h +++ b/bertos/cfg/cfg_kern.h @@ -50,12 +50,12 @@ */ #define CONFIG_KERN_SCHED 1 ///< Process schedling #define CONFIG_KERN_SIGNALS 1 ///< Inter-process signals -#define CONFIG_KERN_IRQ 1 ///< Interrupt supervisor +#define CONFIG_KERN_IRQ 0 ///< Interrupt supervisor #define CONFIG_KERN_HEAP 0 ///< Dynamic memory allocation #define CONFIG_KERN_SEMAPHORES 1 ///< Re-entrant mutual exclusion primitives #define CONFIG_KERN_MONITOR 1 ///< Process monitor -#define CONFIG_KERN_PREEMPT 1 ///< Preemptive process scheduling -#define CONFIG_KERN_PRI 1 ///< Priority-based scheduling policy +#define CONFIG_KERN_PREEMPT 0 ///< Preemptive process scheduling +#define CONFIG_KERN_PRI 0 ///< Priority-based scheduling policy /*\}*/ /// [ms] Time sharing quantum (a prime number prevents interference effects) -- 2.25.1