diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2012-02-11 21:10:12 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2012-02-11 21:11:30 +0100 |
commit | 14ee5a1e220fb6bf08ebd36ffb0982dca4515cdb (patch) | |
tree | 905beccc8a453e66132ba67db47f0fb23f92834e /c/src/lib/libbsp/arm/lpc24xx/startup/bspreset.c | |
parent | Use proper ARMv7-M compiler flags. (diff) | |
download | rtems-14ee5a1e220fb6bf08ebd36ffb0982dca4515cdb.tar.bz2 |
Support for NXP LPC1700 family
Diffstat (limited to 'c/src/lib/libbsp/arm/lpc24xx/startup/bspreset.c')
-rw-r--r-- | c/src/lib/libbsp/arm/lpc24xx/startup/bspreset.c | 20 |
1 files changed, 12 insertions, 8 deletions
diff --git a/c/src/lib/libbsp/arm/lpc24xx/startup/bspreset.c b/c/src/lib/libbsp/arm/lpc24xx/startup/bspreset.c index 601ad69b13..d7bbc897c2 100644 --- a/c/src/lib/libbsp/arm/lpc24xx/startup/bspreset.c +++ b/c/src/lib/libbsp/arm/lpc24xx/startup/bspreset.c @@ -7,15 +7,17 @@ */ /* - * Copyright (c) 2008 - * Embedded Brains GmbH - * Obere Lagerstr. 30 - * D-82178 Puchheim - * Germany - * rtems@embedded-brains.de + * Copyright (c) 2008-2012 embedded brains GmbH. All rights reserved. * - * The license and distribution terms for this file may be found in the file - * LICENSE in this distribution or at http://www.rtems.com/license/LICENSE. + * embedded brains GmbH + * Obere Lagerstr. 30 + * 82178 Puchheim + * Germany + * <rtems@embedded-brains.de> + * + * The license and distribution terms for this file may be + * found in the file LICENSE in this distribution or at + * http://www.rtems.com/license/LICENSE. */ #include <rtems.h> @@ -37,6 +39,8 @@ BSP_START_TEXT_SECTION __attribute__((flatten)) void bsp_reset(void) WDMOD = 0x3; WDFEED = 0xaa; WDFEED = 0x55; + #else + printk("reset\n"); #endif while (true) { |