Disable priority and preemption.
[bertos.git] / examples / demo / cfg / cfg_kern.h
index e828bce7009a46a7af95ca2ced6cdc8f1fe2f6a5..bc4594a420b6d8c2ee6f8d4c342193226a95319f 100644 (file)
  */
 #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  0  ///< Re-entrant mutual exclusion primitives
+#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)