From bd7bc85675e6b1370df6227236ceee490560e6f2 Mon Sep 17 00:00:00 2001 From: batt Date: Wed, 25 Mar 2009 16:05:30 +0000 Subject: [PATCH] Update to new kernel config: kernel if OFF by default now. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@2421 38d2e660-2303-0410-9eaa-f027e97ec537 --- bertos/drv/timer_test.c | 11 ----------- bertos/kern/proc_test.c | 10 ++++++++++ bertos/kern/signal_test.c | 7 +++++++ 3 files changed, 17 insertions(+), 11 deletions(-) diff --git a/bertos/drv/timer_test.c b/bertos/drv/timer_test.c index 5599a81b..19522768 100644 --- a/bertos/drv/timer_test.c +++ b/bertos/drv/timer_test.c @@ -35,17 +35,6 @@ * \version $Id$ * \author Bernie Innocenti * - * $test$: cp bertos/cfg/cfg_kern.h $cfgdir/ - * $test$: echo "#undef CONFIG_KERN" >> $cfgdir/cfg_kern.h - * $test$: echo "#define CONFIG_KERN 0" >> $cfgdir/cfg_kern.h - * $test$: echo "#undef CONFIG_KERN_SCHED" >> $cfgdir/cfg_kern.h - * $test$: echo "#define CONFIG_KERN_SCHED 0" >> $cfgdir/cfg_kern.h - * $test$: echo "#undef CONFIG_KERN_SIGNALS" >> $cfgdir/cfg_kern.h - * $test$: echo "#define CONFIG_KERN_SIGNALS 0" >> $cfgdir/cfg_kern.h - * $test$: echo "#undef CONFIG_KERN_SEMAPHORES" >> $cfgdir/cfg_kern.h - * $test$: echo "#define CONFIG_KERN_SEMAPHORES 0" >> $cfgdir/cfg_kern.h - * $test$: echo "#undef CONFIG_KERN_MONITOR" >> $cfgdir/cfg_kern.h - * $test$: echo "#define CONFIG_KERN_MONITOR 0" >> $cfgdir/cfg_kern.h */ #include diff --git a/bertos/kern/proc_test.c b/bertos/kern/proc_test.c index dcb75f36..4bad9a24 100644 --- a/bertos/kern/proc_test.c +++ b/bertos/kern/proc_test.c @@ -34,6 +34,16 @@ * * \version $Id$ * \author Daniele Basile + * + * $test$: cp bertos/cfg/cfg_proc.h $cfgdir/ + * $test$: echo "#undef CONFIG_KERN" >> $cfgdir/cfg_proc.h + * $test$: echo "#define CONFIG_KERN 1" >> $cfgdir/cfg_proc.h + * $test$: cp bertos/cfg/cfg_monitor.h $cfgdir/ + * $test$: echo "#undef CONFIG_KERN_MONITOR" >> $cfgdir/cfg_monitor.h + * $test$: echo "#define CONFIG_KERN_MONITOR 1" >> $cfgdir/cfg_monitor.h + * $test$: cp bertos/cfg/cfg_signal.h $cfgdir/ + * $test$: echo "#undef CONFIG_KERN_SIGNALS" >> $cfgdir/cfg_signal.h + * $test$: echo "#define CONFIG_KERN_SIGNALS 1" >> $cfgdir/cfg_signal.h */ #include diff --git a/bertos/kern/signal_test.c b/bertos/kern/signal_test.c index ca63002b..b105cd8d 100644 --- a/bertos/kern/signal_test.c +++ b/bertos/kern/signal_test.c @@ -35,6 +35,13 @@ * \version $Id$ * * \author Daniele Basile + * + * $test$: cp bertos/cfg/cfg_proc.h $cfgdir/ + * $test$: echo "#undef CONFIG_KERN" >> $cfgdir/cfg_proc.h + * $test$: echo "#define CONFIG_KERN 1" >> $cfgdir/cfg_proc.h + * $test$: cp bertos/cfg/cfg_signal.h $cfgdir/ + * $test$: echo "#undef CONFIG_KERN_SIGNALS" >> $cfgdir/cfg_signal.h + * $test$: echo "#define CONFIG_KERN_SIGNALS 1" >> $cfgdir/cfg_signal.h */ #include -- 2.25.1