X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fcfg%2Fcfg_kern.h;h=71cb072bac7215f9717cb99ddef10f419711dc8a;hb=356174d97981c9c1166458db7dfa939f3202349f;hp=eae0ef741bfd9e1b479c2366b1ff8ca8b72a131a;hpb=2f0d1032a22c3209d8dd8116bed066eeaf25f7bb;p=bertos.git diff --git a/bertos/cfg/cfg_kern.h b/bertos/cfg/cfg_kern.h index eae0ef74..71cb072b 100644 --- a/bertos/cfg/cfg_kern.h +++ b/bertos/cfg/cfg_kern.h @@ -44,19 +44,14 @@ */ #define CONFIG_KERN 1 -/** - * \name Optional kernel features - * \{ - */ #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) #define CONFIG_KERN_QUANTUM 47 @@ -67,7 +62,4 @@ /// Module logging format. #define KERN_LOG_FORMAT LOG_FMT_VERBOSE -#define CONFIG_KERN_PREEMPTIVE CONFIG_KERN_PREEMPT // OBSOLETE -#define CONFIG_KERNEL CONFIG_KERN // OBSOLETE - #endif /* CFG_KERN_H */