From c34de402cec6fda7bf4474f32fed5e5c02cd7e7e Mon Sep 17 00:00:00 2001 From: arighi Date: Tue, 25 May 2010 15:50:09 +0000 Subject: [PATCH] Disable the kernel in all the "empty" preset templates. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@3827 38d2e660-2303-0410-9eaa-f027e97ec537 --- boards/arduino/templates/empty/cfg/cfg_proc.h | 2 +- .../arduino/templates/empty/cfg/cfg_signal.h | 2 +- boards/arduino/templates/empty/main.c | 8 ---- boards/arduino/templates/empty/project.bertos | 28 ++++++------- .../templates/empty/cfg/cfg_proc.h | 2 +- .../templates/empty/cfg/cfg_sem.h | 2 +- .../templates/empty/cfg/cfg_signal.h | 2 +- boards/at91sam7s-ek/templates/empty/main.c | 7 ---- .../templates/empty/project.bertos | 34 +++++++--------- .../templates/empty/cfg/cfg_proc.h | 2 +- .../templates/empty/cfg/cfg_signal.h | 2 +- boards/at91sam7x-ek/templates/empty/main.c | 8 ---- .../templates/empty/project.bertos | 28 ++++++------- .../templates/empty/cfg/cfg_proc.h | 2 +- .../ek-lm3s1968/templates/empty/cfg/cfg_sem.h | 2 +- .../templates/empty/cfg/cfg_signal.h | 2 +- boards/ek-lm3s1968/templates/empty/main.c | 7 ---- .../templates/empty/project.bertos | 40 ++++++++----------- .../lpc-p2378/templates/empty/cfg/cfg_proc.h | 2 +- .../lpc-p2378/templates/empty/cfg/cfg_sem.h | 2 +- .../templates/empty/cfg/cfg_signal.h | 2 +- boards/lpc-p2378/templates/empty/main.c | 8 ---- .../lpc-p2378/templates/empty/project.bertos | 36 +++++++---------- .../stm32-p103/templates/empty/cfg/cfg_proc.h | 2 +- .../stm32-p103/templates/empty/cfg/cfg_sem.h | 2 +- .../templates/empty/cfg/cfg_signal.h | 2 +- boards/stm32-p103/templates/empty/main.c | 7 ---- .../stm32-p103/templates/empty/project.bertos | 34 +++++++--------- boards/triface/templates/empty/cfg/cfg_proc.h | 2 +- boards/triface/templates/empty/cfg/cfg_sem.h | 2 +- .../triface/templates/empty/cfg/cfg_signal.h | 2 +- boards/triface/templates/empty/main.c | 8 ---- boards/triface/templates/empty/project.bertos | 36 +++++++---------- 33 files changed, 116 insertions(+), 211 deletions(-) diff --git a/boards/arduino/templates/empty/cfg/cfg_proc.h b/boards/arduino/templates/empty/cfg/cfg_proc.h index dfa7ece0..52b4e414 100644 --- a/boards/arduino/templates/empty/cfg/cfg_proc.h +++ b/boards/arduino/templates/empty/cfg/cfg_proc.h @@ -43,7 +43,7 @@ * * $WIZ$ type = "autoenabled" */ -#define CONFIG_KERN 1 +#define CONFIG_KERN 0 /** * Kernel interrupt supervisor. WARNING: Experimental, still incomplete! diff --git a/boards/arduino/templates/empty/cfg/cfg_signal.h b/boards/arduino/templates/empty/cfg/cfg_signal.h index ed85119b..e78a4519 100644 --- a/boards/arduino/templates/empty/cfg/cfg_signal.h +++ b/boards/arduino/templates/empty/cfg/cfg_signal.h @@ -43,6 +43,6 @@ * Inter-process signals. * $WIZ$ type = "autoenabled" */ -#define CONFIG_KERN_SIGNALS 1 +#define CONFIG_KERN_SIGNALS 0 #endif /* CFG_SIGNAL_H */ diff --git a/boards/arduino/templates/empty/main.c b/boards/arduino/templates/empty/main.c index 2bbaf044..1036c5cb 100644 --- a/boards/arduino/templates/empty/main.c +++ b/boards/arduino/templates/empty/main.c @@ -44,8 +44,6 @@ #include #include #include -#include -#include static Serial out; @@ -64,12 +62,6 @@ static void init(void) ser_setbaudrate(&out, 115200); /* Initialize LED driver */ LED_INIT(); - - /* - * Kernel initialization: processes (allow to create and dispatch - * processes using proc_new()). - */ - proc_init(); } int main(void) diff --git a/boards/arduino/templates/empty/project.bertos b/boards/arduino/templates/empty/project.bertos index 80c22f45..3612dd1a 100644 --- a/boards/arduino/templates/empty/project.bertos +++ b/boards/arduino/templates/empty/project.bertos @@ -46,36 +46,32 @@ p22 (lp23 S'ser' p24 -aS'kernel' -p25 aS'formatwr' +p25 +aS'debug' p26 aS'kfile' p27 aS'heap' p28 -aS'signal' -p29 aS'timer' -p30 -aS'debug' -p31 +p29 asS'CPU_NAME' -p32 +p30 VATmega328P -p33 +p31 sS'PROJECT_HW_PATH' -p34 +p32 S'../..' -p35 +p33 sS'PROJECT_SRC_PATH' -p36 +p34 S'.' -p37 +p35 sS'PRESET' -p38 +p36 I01 sS'OUTPUT' -p39 -(lp40 +p37 +(lp38 s. \ No newline at end of file diff --git a/boards/at91sam7s-ek/templates/empty/cfg/cfg_proc.h b/boards/at91sam7s-ek/templates/empty/cfg/cfg_proc.h index 7e64c498..b2c3a965 100644 --- a/boards/at91sam7s-ek/templates/empty/cfg/cfg_proc.h +++ b/boards/at91sam7s-ek/templates/empty/cfg/cfg_proc.h @@ -43,7 +43,7 @@ * * $WIZ$ type = "autoenabled" */ -#define CONFIG_KERN 1 +#define CONFIG_KERN 0 /** * Kernel interrupt supervisor. WARNING: Experimental, still incomplete! diff --git a/boards/at91sam7s-ek/templates/empty/cfg/cfg_sem.h b/boards/at91sam7s-ek/templates/empty/cfg/cfg_sem.h index 86ed110d..2a6de7a9 100644 --- a/boards/at91sam7s-ek/templates/empty/cfg/cfg_sem.h +++ b/boards/at91sam7s-ek/templates/empty/cfg/cfg_sem.h @@ -43,6 +43,6 @@ * Re-entrant mutual exclusion primitives. * $WIZ$ type = "autoenabled" */ -#define CONFIG_KERN_SEMAPHORES 1 +#define CONFIG_KERN_SEMAPHORES 0 #endif /* CFG_SEM_H */ diff --git a/boards/at91sam7s-ek/templates/empty/cfg/cfg_signal.h b/boards/at91sam7s-ek/templates/empty/cfg/cfg_signal.h index ed85119b..e78a4519 100644 --- a/boards/at91sam7s-ek/templates/empty/cfg/cfg_signal.h +++ b/boards/at91sam7s-ek/templates/empty/cfg/cfg_signal.h @@ -43,6 +43,6 @@ * Inter-process signals. * $WIZ$ type = "autoenabled" */ -#define CONFIG_KERN_SIGNALS 1 +#define CONFIG_KERN_SIGNALS 0 #endif /* CFG_SIGNAL_H */ diff --git a/boards/at91sam7s-ek/templates/empty/main.c b/boards/at91sam7s-ek/templates/empty/main.c index f5c8b305..0c8aefc4 100644 --- a/boards/at91sam7s-ek/templates/empty/main.c +++ b/boards/at91sam7s-ek/templates/empty/main.c @@ -43,7 +43,6 @@ #include #include #include -#include static Serial out; @@ -62,12 +61,6 @@ static void init(void) ser_setbaudrate(&out, 115200); /* Initialize LED driver */ LED_INIT(); - - /* - * Kernel initialization: processes (allow to create and dispatch - * processes using proc_new()). - */ - proc_init(); } int main(void) diff --git a/boards/at91sam7s-ek/templates/empty/project.bertos b/boards/at91sam7s-ek/templates/empty/project.bertos index fd6d47a6..3effa2de 100644 --- a/boards/at91sam7s-ek/templates/empty/project.bertos +++ b/boards/at91sam7s-ek/templates/empty/project.bertos @@ -46,38 +46,32 @@ p22 (lp23 S'ser' p24 -aS'kernel' +aS'formatwr' p25 -aS'semaphores' +aS'kfile' p26 -aS'formatwr' +aS'heap' p27 -aS'debug' +aS'timer' p28 -aS'kfile' +aS'debug' p29 -aS'heap' -p30 -aS'signal' -p31 -aS'timer' -p32 asS'CPU_NAME' -p33 +p30 VAT91SAM7S256 -p34 +p31 sS'PROJECT_HW_PATH' -p35 +p32 S'../..' -p36 +p33 sS'PROJECT_SRC_PATH' -p37 +p34 S'.' -p38 +p35 sS'PRESET' -p39 +p36 I01 sS'OUTPUT' -p40 -(lp41 +p37 +(lp38 s. \ No newline at end of file diff --git a/boards/at91sam7x-ek/templates/empty/cfg/cfg_proc.h b/boards/at91sam7x-ek/templates/empty/cfg/cfg_proc.h index 7e64c498..b2c3a965 100644 --- a/boards/at91sam7x-ek/templates/empty/cfg/cfg_proc.h +++ b/boards/at91sam7x-ek/templates/empty/cfg/cfg_proc.h @@ -43,7 +43,7 @@ * * $WIZ$ type = "autoenabled" */ -#define CONFIG_KERN 1 +#define CONFIG_KERN 0 /** * Kernel interrupt supervisor. WARNING: Experimental, still incomplete! diff --git a/boards/at91sam7x-ek/templates/empty/cfg/cfg_signal.h b/boards/at91sam7x-ek/templates/empty/cfg/cfg_signal.h index ed85119b..e78a4519 100644 --- a/boards/at91sam7x-ek/templates/empty/cfg/cfg_signal.h +++ b/boards/at91sam7x-ek/templates/empty/cfg/cfg_signal.h @@ -43,6 +43,6 @@ * Inter-process signals. * $WIZ$ type = "autoenabled" */ -#define CONFIG_KERN_SIGNALS 1 +#define CONFIG_KERN_SIGNALS 0 #endif /* CFG_SIGNAL_H */ diff --git a/boards/at91sam7x-ek/templates/empty/main.c b/boards/at91sam7x-ek/templates/empty/main.c index 2bbaf044..1036c5cb 100644 --- a/boards/at91sam7x-ek/templates/empty/main.c +++ b/boards/at91sam7x-ek/templates/empty/main.c @@ -44,8 +44,6 @@ #include #include #include -#include -#include static Serial out; @@ -64,12 +62,6 @@ static void init(void) ser_setbaudrate(&out, 115200); /* Initialize LED driver */ LED_INIT(); - - /* - * Kernel initialization: processes (allow to create and dispatch - * processes using proc_new()). - */ - proc_init(); } int main(void) diff --git a/boards/at91sam7x-ek/templates/empty/project.bertos b/boards/at91sam7x-ek/templates/empty/project.bertos index ba9d5911..15fbc7ff 100644 --- a/boards/at91sam7x-ek/templates/empty/project.bertos +++ b/boards/at91sam7x-ek/templates/empty/project.bertos @@ -46,36 +46,32 @@ p22 (lp23 S'ser' p24 -aS'kernel' -p25 aS'formatwr' +p25 +aS'debug' p26 aS'kfile' p27 aS'heap' p28 -aS'signal' -p29 aS'timer' -p30 -aS'debug' -p31 +p29 asS'CPU_NAME' -p32 +p30 VAT91SAM7X256 -p33 +p31 sS'PROJECT_HW_PATH' -p34 +p32 S'../..' -p35 +p33 sS'PROJECT_SRC_PATH' -p36 +p34 S'.' -p37 +p35 sS'PRESET' -p38 +p36 I01 sS'OUTPUT' -p39 -(lp40 +p37 +(lp38 s. \ No newline at end of file diff --git a/boards/ek-lm3s1968/templates/empty/cfg/cfg_proc.h b/boards/ek-lm3s1968/templates/empty/cfg/cfg_proc.h index 7e64c498..b2c3a965 100644 --- a/boards/ek-lm3s1968/templates/empty/cfg/cfg_proc.h +++ b/boards/ek-lm3s1968/templates/empty/cfg/cfg_proc.h @@ -43,7 +43,7 @@ * * $WIZ$ type = "autoenabled" */ -#define CONFIG_KERN 1 +#define CONFIG_KERN 0 /** * Kernel interrupt supervisor. WARNING: Experimental, still incomplete! diff --git a/boards/ek-lm3s1968/templates/empty/cfg/cfg_sem.h b/boards/ek-lm3s1968/templates/empty/cfg/cfg_sem.h index 86ed110d..2a6de7a9 100644 --- a/boards/ek-lm3s1968/templates/empty/cfg/cfg_sem.h +++ b/boards/ek-lm3s1968/templates/empty/cfg/cfg_sem.h @@ -43,6 +43,6 @@ * Re-entrant mutual exclusion primitives. * $WIZ$ type = "autoenabled" */ -#define CONFIG_KERN_SEMAPHORES 1 +#define CONFIG_KERN_SEMAPHORES 0 #endif /* CFG_SEM_H */ diff --git a/boards/ek-lm3s1968/templates/empty/cfg/cfg_signal.h b/boards/ek-lm3s1968/templates/empty/cfg/cfg_signal.h index ed85119b..e78a4519 100644 --- a/boards/ek-lm3s1968/templates/empty/cfg/cfg_signal.h +++ b/boards/ek-lm3s1968/templates/empty/cfg/cfg_signal.h @@ -43,6 +43,6 @@ * Inter-process signals. * $WIZ$ type = "autoenabled" */ -#define CONFIG_KERN_SIGNALS 1 +#define CONFIG_KERN_SIGNALS 0 #endif /* CFG_SIGNAL_H */ diff --git a/boards/ek-lm3s1968/templates/empty/main.c b/boards/ek-lm3s1968/templates/empty/main.c index 659b51b5..9ca44575 100644 --- a/boards/ek-lm3s1968/templates/empty/main.c +++ b/boards/ek-lm3s1968/templates/empty/main.c @@ -43,7 +43,6 @@ #include #include #include -#include #include #include @@ -77,12 +76,6 @@ static void init(void) rit128x96_blitBitmap(&lcd_bitmap); /* Initialize the keypad driver */ kbd_init(); - - /* - * Kernel initialization: processes (allow to create and dispatch - * processes using proc_new()). - */ - proc_init(); } int main(void) diff --git a/boards/ek-lm3s1968/templates/empty/project.bertos b/boards/ek-lm3s1968/templates/empty/project.bertos index 2fea40ab..9cace4d6 100644 --- a/boards/ek-lm3s1968/templates/empty/project.bertos +++ b/boards/ek-lm3s1968/templates/empty/project.bertos @@ -48,44 +48,38 @@ S'gfx' p24 aS'ser' p25 -aS'kernel' -p26 aS'kbd' +p26 +aS'formatwr' p27 -aS'semaphores' +aS'kfile' p28 -aS'formatwr' +aS'lcd_rit128x96' p29 -aS'debug' +aS'heap' p30 -aS'kfile' +aS'timer' p31 -aS'lcd_rit128x96' +aS'debug' p32 -aS'heap' -p33 -aS'signal' -p34 -aS'timer' -p35 aS'lm3s_ssi' -p36 +p33 asS'CPU_NAME' -p37 +p34 VLM3S1968 -p38 +p35 sS'PROJECT_HW_PATH' -p39 +p36 S'../..' -p40 +p37 sS'PROJECT_SRC_PATH' -p41 +p38 S'.' -p42 +p39 sS'PRESET' -p43 +p40 I01 sS'OUTPUT' -p44 -(lp45 +p41 +(lp42 s. \ No newline at end of file diff --git a/boards/lpc-p2378/templates/empty/cfg/cfg_proc.h b/boards/lpc-p2378/templates/empty/cfg/cfg_proc.h index 7e64c498..b2c3a965 100644 --- a/boards/lpc-p2378/templates/empty/cfg/cfg_proc.h +++ b/boards/lpc-p2378/templates/empty/cfg/cfg_proc.h @@ -43,7 +43,7 @@ * * $WIZ$ type = "autoenabled" */ -#define CONFIG_KERN 1 +#define CONFIG_KERN 0 /** * Kernel interrupt supervisor. WARNING: Experimental, still incomplete! diff --git a/boards/lpc-p2378/templates/empty/cfg/cfg_sem.h b/boards/lpc-p2378/templates/empty/cfg/cfg_sem.h index 86ed110d..2a6de7a9 100644 --- a/boards/lpc-p2378/templates/empty/cfg/cfg_sem.h +++ b/boards/lpc-p2378/templates/empty/cfg/cfg_sem.h @@ -43,6 +43,6 @@ * Re-entrant mutual exclusion primitives. * $WIZ$ type = "autoenabled" */ -#define CONFIG_KERN_SEMAPHORES 1 +#define CONFIG_KERN_SEMAPHORES 0 #endif /* CFG_SEM_H */ diff --git a/boards/lpc-p2378/templates/empty/cfg/cfg_signal.h b/boards/lpc-p2378/templates/empty/cfg/cfg_signal.h index ed85119b..e78a4519 100644 --- a/boards/lpc-p2378/templates/empty/cfg/cfg_signal.h +++ b/boards/lpc-p2378/templates/empty/cfg/cfg_signal.h @@ -43,6 +43,6 @@ * Inter-process signals. * $WIZ$ type = "autoenabled" */ -#define CONFIG_KERN_SIGNALS 1 +#define CONFIG_KERN_SIGNALS 0 #endif /* CFG_SIGNAL_H */ diff --git a/boards/lpc-p2378/templates/empty/main.c b/boards/lpc-p2378/templates/empty/main.c index 2bbaf044..1036c5cb 100644 --- a/boards/lpc-p2378/templates/empty/main.c +++ b/boards/lpc-p2378/templates/empty/main.c @@ -44,8 +44,6 @@ #include #include #include -#include -#include static Serial out; @@ -64,12 +62,6 @@ static void init(void) ser_setbaudrate(&out, 115200); /* Initialize LED driver */ LED_INIT(); - - /* - * Kernel initialization: processes (allow to create and dispatch - * processes using proc_new()). - */ - proc_init(); } int main(void) diff --git a/boards/lpc-p2378/templates/empty/project.bertos b/boards/lpc-p2378/templates/empty/project.bertos index 8bb1899f..beb71ade 100644 --- a/boards/lpc-p2378/templates/empty/project.bertos +++ b/boards/lpc-p2378/templates/empty/project.bertos @@ -46,40 +46,32 @@ p22 (lp23 S'ser' p24 -aS'kernel' -p25 aS'formatwr' +p25 +aS'debug' p26 -aS'msg' -p27 -aS'semaphores' -p28 aS'kfile' -p29 +p27 aS'heap' -p30 -aS'signal' -p31 +p28 aS'timer' -p32 -aS'debug' -p33 +p29 asS'CPU_NAME' -p34 +p30 VLPC2378 -p35 +p31 sS'PROJECT_HW_PATH' -p36 +p32 S'../..' -p37 +p33 sS'PROJECT_SRC_PATH' -p38 +p34 S'.' -p39 +p35 sS'PRESET' -p40 +p36 I01 sS'OUTPUT' -p41 -(lp42 +p37 +(lp38 s. \ No newline at end of file diff --git a/boards/stm32-p103/templates/empty/cfg/cfg_proc.h b/boards/stm32-p103/templates/empty/cfg/cfg_proc.h index 7e64c498..b2c3a965 100644 --- a/boards/stm32-p103/templates/empty/cfg/cfg_proc.h +++ b/boards/stm32-p103/templates/empty/cfg/cfg_proc.h @@ -43,7 +43,7 @@ * * $WIZ$ type = "autoenabled" */ -#define CONFIG_KERN 1 +#define CONFIG_KERN 0 /** * Kernel interrupt supervisor. WARNING: Experimental, still incomplete! diff --git a/boards/stm32-p103/templates/empty/cfg/cfg_sem.h b/boards/stm32-p103/templates/empty/cfg/cfg_sem.h index 86ed110d..2a6de7a9 100644 --- a/boards/stm32-p103/templates/empty/cfg/cfg_sem.h +++ b/boards/stm32-p103/templates/empty/cfg/cfg_sem.h @@ -43,6 +43,6 @@ * Re-entrant mutual exclusion primitives. * $WIZ$ type = "autoenabled" */ -#define CONFIG_KERN_SEMAPHORES 1 +#define CONFIG_KERN_SEMAPHORES 0 #endif /* CFG_SEM_H */ diff --git a/boards/stm32-p103/templates/empty/cfg/cfg_signal.h b/boards/stm32-p103/templates/empty/cfg/cfg_signal.h index ed85119b..e78a4519 100644 --- a/boards/stm32-p103/templates/empty/cfg/cfg_signal.h +++ b/boards/stm32-p103/templates/empty/cfg/cfg_signal.h @@ -43,6 +43,6 @@ * Inter-process signals. * $WIZ$ type = "autoenabled" */ -#define CONFIG_KERN_SIGNALS 1 +#define CONFIG_KERN_SIGNALS 0 #endif /* CFG_SIGNAL_H */ diff --git a/boards/stm32-p103/templates/empty/main.c b/boards/stm32-p103/templates/empty/main.c index 577a98a6..f40e46b0 100644 --- a/boards/stm32-p103/templates/empty/main.c +++ b/boards/stm32-p103/templates/empty/main.c @@ -42,7 +42,6 @@ #include #include #include -#include static void init(void) { @@ -55,12 +54,6 @@ static void init(void) timer_init(); /* Initialize LED driver */ LED_INIT(); - - /* - * Kernel initialization: processes (allow to create and dispatch - * processes using proc_new()). - */ - proc_init(); } int main(void) diff --git a/boards/stm32-p103/templates/empty/project.bertos b/boards/stm32-p103/templates/empty/project.bertos index 973613e1..d02a7a32 100644 --- a/boards/stm32-p103/templates/empty/project.bertos +++ b/boards/stm32-p103/templates/empty/project.bertos @@ -44,38 +44,32 @@ p21 ssS'ENABLED_MODULES' p22 (lp23 -S'kernel' +S'formatwr' p24 -aS'formatwr' -p25 -aS'semaphores' -p26 aS'kfile' -p27 +p25 aS'heap' -p28 -aS'signal' -p29 +p26 aS'timer' -p30 +p27 aS'debug' -p31 +p28 asS'CPU_NAME' -p32 +p29 VSTM32P103 -p33 +p30 sS'PROJECT_HW_PATH' -p34 +p31 S'../..' -p35 +p32 sS'PROJECT_SRC_PATH' -p36 +p33 S'.' -p37 +p34 sS'PRESET' -p38 +p35 I01 sS'OUTPUT' -p39 -(lp40 +p36 +(lp37 s. \ No newline at end of file diff --git a/boards/triface/templates/empty/cfg/cfg_proc.h b/boards/triface/templates/empty/cfg/cfg_proc.h index dfa7ece0..52b4e414 100644 --- a/boards/triface/templates/empty/cfg/cfg_proc.h +++ b/boards/triface/templates/empty/cfg/cfg_proc.h @@ -43,7 +43,7 @@ * * $WIZ$ type = "autoenabled" */ -#define CONFIG_KERN 1 +#define CONFIG_KERN 0 /** * Kernel interrupt supervisor. WARNING: Experimental, still incomplete! diff --git a/boards/triface/templates/empty/cfg/cfg_sem.h b/boards/triface/templates/empty/cfg/cfg_sem.h index 86ed110d..2a6de7a9 100644 --- a/boards/triface/templates/empty/cfg/cfg_sem.h +++ b/boards/triface/templates/empty/cfg/cfg_sem.h @@ -43,6 +43,6 @@ * Re-entrant mutual exclusion primitives. * $WIZ$ type = "autoenabled" */ -#define CONFIG_KERN_SEMAPHORES 1 +#define CONFIG_KERN_SEMAPHORES 0 #endif /* CFG_SEM_H */ diff --git a/boards/triface/templates/empty/cfg/cfg_signal.h b/boards/triface/templates/empty/cfg/cfg_signal.h index ed85119b..e78a4519 100644 --- a/boards/triface/templates/empty/cfg/cfg_signal.h +++ b/boards/triface/templates/empty/cfg/cfg_signal.h @@ -43,6 +43,6 @@ * Inter-process signals. * $WIZ$ type = "autoenabled" */ -#define CONFIG_KERN_SIGNALS 1 +#define CONFIG_KERN_SIGNALS 0 #endif /* CFG_SIGNAL_H */ diff --git a/boards/triface/templates/empty/main.c b/boards/triface/templates/empty/main.c index 2bbaf044..1036c5cb 100644 --- a/boards/triface/templates/empty/main.c +++ b/boards/triface/templates/empty/main.c @@ -44,8 +44,6 @@ #include #include #include -#include -#include static Serial out; @@ -64,12 +62,6 @@ static void init(void) ser_setbaudrate(&out, 115200); /* Initialize LED driver */ LED_INIT(); - - /* - * Kernel initialization: processes (allow to create and dispatch - * processes using proc_new()). - */ - proc_init(); } int main(void) diff --git a/boards/triface/templates/empty/project.bertos b/boards/triface/templates/empty/project.bertos index 1c3815cb..68eb2f28 100644 --- a/boards/triface/templates/empty/project.bertos +++ b/boards/triface/templates/empty/project.bertos @@ -46,40 +46,32 @@ p22 (lp23 S'ser' p24 -aS'kernel' -p25 aS'formatwr' +p25 +aS'debug' p26 -aS'msg' -p27 -aS'semaphores' -p28 aS'kfile' -p29 +p27 aS'heap' -p30 -aS'signal' -p31 +p28 aS'timer' -p32 -aS'debug' -p33 +p29 asS'CPU_NAME' -p34 +p30 VATmega1281 -p35 +p31 sS'PROJECT_HW_PATH' -p36 +p32 S'../..' -p37 +p33 sS'PROJECT_SRC_PATH' -p38 +p34 S'.' -p39 +p35 sS'PRESET' -p40 +p36 I01 sS'OUTPUT' -p41 -(lp42 +p37 +(lp38 s. \ No newline at end of file -- 2.25.1