From 675adde160fba196043bb471ae36a222238db49e Mon Sep 17 00:00:00 2001 From: gdisirio Date: Sun, 19 Dec 2010 12:50:56 +0000 Subject: STM8 board files and demos updated. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@2509 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- demos/STM8L-STM8L152-DISCOVERY-STVD/demo/main.c | 14 ++--- demos/STM8S-STM8S105-DISCOVERY-STVD/ChibiOS-RT.stw | 2 +- demos/STM8S-STM8S105-DISCOVERY-STVD/demo/main.c | 14 ++--- demos/STM8S-STM8S208-RC/ch.rapp | 59 +++++++++++----------- demos/STM8S-STM8S208-RC/ch.rprj | 2 +- demos/STM8S-STM8S208-RC/main.c | 14 ++--- 6 files changed, 53 insertions(+), 52 deletions(-) (limited to 'demos') diff --git a/demos/STM8L-STM8L152-DISCOVERY-STVD/demo/main.c b/demos/STM8L-STM8L152-DISCOVERY-STVD/demo/main.c index d1545a84d..6245449cf 100644 --- a/demos/STM8L-STM8L152-DISCOVERY-STVD/demo/main.c +++ b/demos/STM8L-STM8L152-DISCOVERY-STVD/demo/main.c @@ -42,18 +42,18 @@ static msg_t Thread1(void *arg) { } /* - * Entry point. + * Application entry point. */ void main(void) { /* - * Board/HAL initialization. - */ - hwinit(); - - /* - * OS initialization. + * System initializations. + * - HAL initialization, this also initializes the configured device drivers + * and performs the board-specific initializations. + * - Kernel initialization, the main() function becomes a thread and the + * RTOS is active. */ + halInit(); chSysInit(); /* diff --git a/demos/STM8S-STM8S105-DISCOVERY-STVD/ChibiOS-RT.stw b/demos/STM8S-STM8S105-DISCOVERY-STVD/ChibiOS-RT.stw index 130504bef..a6630271a 100644 --- a/demos/STM8S-STM8S105-DISCOVERY-STVD/ChibiOS-RT.stw +++ b/demos/STM8S-STM8S105-DISCOVERY-STVD/ChibiOS-RT.stw @@ -11,6 +11,6 @@ Dependencies= Filename=raisonance\raisonance.stp Dependencies= [Options] -ActiveProject=raisonance +ActiveProject=cosmic ActiveConfig=Release AddSortedElements=0 diff --git a/demos/STM8S-STM8S105-DISCOVERY-STVD/demo/main.c b/demos/STM8S-STM8S105-DISCOVERY-STVD/demo/main.c index 35321bf62..41f38ac80 100644 --- a/demos/STM8S-STM8S105-DISCOVERY-STVD/demo/main.c +++ b/demos/STM8S-STM8S105-DISCOVERY-STVD/demo/main.c @@ -38,18 +38,18 @@ static msg_t Thread1(void *arg) { } /* - * Entry point. + * Application entry point. */ void main(void) { /* - * Board/HAL initialization. - */ - hwinit(); - - /* - * OS initialization. + * System initializations. + * - HAL initialization, this also initializes the configured device drivers + * and performs the board-specific initializations. + * - Kernel initialization, the main() function becomes a thread and the + * RTOS is active. */ + halInit(); chSysInit(); /* diff --git a/demos/STM8S-STM8S208-RC/ch.rapp b/demos/STM8S-STM8S208-RC/ch.rapp index fbe5413e6..3b4e4b047 100644 --- a/demos/STM8S-STM8S208-RC/ch.rapp +++ b/demos/STM8S-STM8S208-RC/ch.rapp @@ -1,6 +1,6 @@ - - + + @@ -11,15 +11,15 @@
- +
- +
- + - + - +
@@ -31,7 +31,7 @@ - + @@ -42,17 +42,17 @@
- +
- +
- + - + - +
- +
@@ -67,11 +67,11 @@ - + - + @@ -88,12 +88,13 @@ + - +
- + @@ -101,21 +102,21 @@
- +
- +
- +
- +
@@ -126,33 +127,33 @@
- +
- +
- +
- +
- +
- +
- +
diff --git a/demos/STM8S-STM8S208-RC/ch.rprj b/demos/STM8S-STM8S208-RC/ch.rprj index 138f43304..ad8b9b39e 100644 --- a/demos/STM8S-STM8S208-RC/ch.rprj +++ b/demos/STM8S-STM8S208-RC/ch.rprj @@ -1,4 +1,4 @@ - + \ No newline at end of file diff --git a/demos/STM8S-STM8S208-RC/main.c b/demos/STM8S-STM8S208-RC/main.c index 4e714fc15..c676f05d5 100644 --- a/demos/STM8S-STM8S208-RC/main.c +++ b/demos/STM8S-STM8S208-RC/main.c @@ -38,18 +38,18 @@ static msg_t Thread1(void *arg) { } /* - * Entry point. + * Application entry point. */ void main(void) { /* - * Board/HAL initialization. - */ - hwinit(); - - /* - * OS initialization. + * System initializations. + * - HAL initialization, this also initializes the configured device drivers + * and performs the board-specific initializations. + * - Kernel initialization, the main() function becomes a thread and the + * RTOS is active. */ + halInit(); chSysInit(); /* -- cgit v1.2.3