From eb5721207ec3c63c8fcddd39810b851ff72264f6 Mon Sep 17 00:00:00 2001 From: gdisirio Date: Sun, 7 Mar 2010 08:32:55 +0000 Subject: git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1727 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/ports/RC/STM8/chcore.c | 4 ++-- os/ports/RC/STM8/chcore.h | 4 ++-- os/ports/RC/STM8/chcoreasm.asm | 6 +++--- os/ports/RC/STM8/chtypes.h | 2 +- os/ports/RC/STM8/port.dox | 9 ++++++++- 5 files changed, 16 insertions(+), 9 deletions(-) (limited to 'os/ports/RC') diff --git a/os/ports/RC/STM8/chcore.c b/os/ports/RC/STM8/chcore.c index 21d41ecc7..bccfc454a 100644 --- a/os/ports/RC/STM8/chcore.c +++ b/os/ports/RC/STM8/chcore.c @@ -1,5 +1,5 @@ /* - ChibiOS/RT - Copyright (C) 2006-2007 Giovanni Di Sirio. + ChibiOS/RT - Copyright (C) 2006,2007,2008,2009,2010 Giovanni Di Sirio. This file is part of ChibiOS/RT. @@ -32,7 +32,7 @@ * @details This function is invoked by the operating system when an * unrecoverable error is detected (as example because a programming * error in the application code that triggers an assertion while in - * debug mode). + * debug mode). */ void port_halt(void) { diff --git a/os/ports/RC/STM8/chcore.h b/os/ports/RC/STM8/chcore.h index 57c8211ef..f652a858b 100644 --- a/os/ports/RC/STM8/chcore.h +++ b/os/ports/RC/STM8/chcore.h @@ -1,5 +1,5 @@ /* - ChibiOS/RT - Copyright (C) 2006-2007 Giovanni Di Sirio. + ChibiOS/RT - Copyright (C) 2006,2007,2008,2009,2010 Giovanni Di Sirio. This file is part of ChibiOS/RT. @@ -178,7 +178,7 @@ struct context { /** * @brief IRQ handler function declaration. * @note @p id can be a function name or a vector number depending on the - * port implementation. + * port implementation. */ #define PORT_IRQ_HANDLER(id) void irq##id(void) interrupt id diff --git a/os/ports/RC/STM8/chcoreasm.asm b/os/ports/RC/STM8/chcoreasm.asm index 1e125df0e..e5cfda1fb 100644 --- a/os/ports/RC/STM8/chcoreasm.asm +++ b/os/ports/RC/STM8/chcoreasm.asm @@ -1,4 +1,4 @@ -; ChibiOS/RT - Copyright (C) 2006-2007 Giovanni Di Sirio. +; ChibiOS/RT - Copyright (C) 2006,2007,2008,2009,2010 Giovanni Di Sirio. ; ; This file is part of ChibiOS/RT. ; @@ -9,11 +9,11 @@ ; ChibiOS/RT is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of -; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ; GNU General Public License for more details. ; You should have received a copy of the GNU General Public License -; along with this program. If not, see . +; along with this program. If not, see . ?PR??_THREAD_START?CHCOREASM SEGMENT CODE diff --git a/os/ports/RC/STM8/chtypes.h b/os/ports/RC/STM8/chtypes.h index 48587c722..d2245b9c0 100644 --- a/os/ports/RC/STM8/chtypes.h +++ b/os/ports/RC/STM8/chtypes.h @@ -1,5 +1,5 @@ /* - ChibiOS/RT - Copyright (C) 2006-2007 Giovanni Di Sirio. + ChibiOS/RT - Copyright (C) 2006,2007,2008,2009,2010 Giovanni Di Sirio. This file is part of ChibiOS/RT. diff --git a/os/ports/RC/STM8/port.dox b/os/ports/RC/STM8/port.dox index 594fcd468..332b7f3f1 100644 --- a/os/ports/RC/STM8/port.dox +++ b/os/ports/RC/STM8/port.dox @@ -1,5 +1,5 @@ /* - ChibiOS/RT - Copyright (C) 2006-2007 Giovanni Di Sirio. + ChibiOS/RT - Copyright (C) 2006,2007,2008,2009,2010 Giovanni Di Sirio. This file is part of ChibiOS/RT. @@ -50,6 +50,13 @@ * enough stack space for interrupts in each thread stack. This can be done * by modifying the @p INT_REQUIRED_STACK macro into * ./os/ports/RC/STM8/chcore.h. + * - The kernel currently supports only the small memory model so the + * kernel files should be loaded in the first 64K. Note that this is not + * a problem because upper addresses can be used by the user code, the + * kernel can context switch code running there. + * - The configuration option @p CH_OPTIMIZE_SPEED is not currently supported + * because the missing support of the @p inline "C" keyword in the + * compiler. * . * @ingroup ports */ -- cgit v1.2.3