diff options
author | Thomas Doerfler <Thomas.Doerfler@embedded-brains.de> | 2009-02-27 12:12:08 +0000 |
---|---|---|
committer | Thomas Doerfler <Thomas.Doerfler@embedded-brains.de> | 2009-02-27 12:12:08 +0000 |
commit | 949166d6c0436afba8b78420e6ef64a9719b9fca (patch) | |
tree | bddb49ca14eee7ead6f97311663185c1f99c1503 /c/src/lib/libbsp/arm/lpc24xx/startup | |
parent | * README: Added NCS. (diff) | |
download | rtems-949166d6c0436afba8b78420e6ef64a9719b9fca.tar.bz2 |
added missing files
Diffstat (limited to 'c/src/lib/libbsp/arm/lpc24xx/startup')
4 files changed, 69 insertions, 0 deletions
diff --git a/c/src/lib/libbsp/arm/lpc24xx/startup/bspreset.c b/c/src/lib/libbsp/arm/lpc24xx/startup/bspreset.c new file mode 100644 index 0000000000..1f2ef57b8d --- /dev/null +++ b/c/src/lib/libbsp/arm/lpc24xx/startup/bspreset.c @@ -0,0 +1,27 @@ +/** + * @file + * + * @ingroup lpc24xx + * + * @brief Reset code. + */ + +/* + * Copyright (c) 2008 + * Embedded Brains GmbH + * Obere Lagerstr. 30 + * D-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 <bsp/bootcard.h> +#include <bsp/start.h> + +void bsp_reset( void) +{ + start(); +} diff --git a/c/src/lib/libbsp/arm/lpc24xx/startup/linkcmds.lpc2478 b/c/src/lib/libbsp/arm/lpc24xx/startup/linkcmds.lpc2478 new file mode 100644 index 0000000000..2edc351fb0 --- /dev/null +++ b/c/src/lib/libbsp/arm/lpc24xx/startup/linkcmds.lpc2478 @@ -0,0 +1,14 @@ +/** + * @file + * + * LPC2478 (QVGA Base Board from Embedded Artists). + */ + +MEMORY { + RAM_INT (AIW) : ORIGIN = 0x40000000, LENGTH = 64k + RAM_EXT (AIW) : ORIGIN = 0xa0000000, LENGTH = 32M + ROM_INT (RX) : ORIGIN = 0x00000000, LENGTH = 512k - 8k + NIRVANA : ORIGIN = 0, LENGTH = 0 +} + +INCLUDE linkcmds.base diff --git a/c/src/lib/libbsp/arm/lpc24xx/startup/linkcmds.lpc2478_ncs b/c/src/lib/libbsp/arm/lpc24xx/startup/linkcmds.lpc2478_ncs new file mode 100644 index 0000000000..1ca2b6a3f4 --- /dev/null +++ b/c/src/lib/libbsp/arm/lpc24xx/startup/linkcmds.lpc2478_ncs @@ -0,0 +1,14 @@ +/** + * @file + * + * LPC2478 (NCS). + */ + +MEMORY { + RAM_INT (AIW) : ORIGIN = 0x40000000, LENGTH = 64k + RAM_EXT (AIW) : ORIGIN = 0xa0400000, LENGTH = 4M + ROM_INT (RX) : ORIGIN = 0x00000000, LENGTH = 512k - 8k + NIRVANA : ORIGIN = 0, LENGTH = 0 +} + +INCLUDE linkcmds.rom diff --git a/c/src/lib/libbsp/arm/lpc24xx/startup/linkcmds.lpc2478_ncs_ram b/c/src/lib/libbsp/arm/lpc24xx/startup/linkcmds.lpc2478_ncs_ram new file mode 100644 index 0000000000..bd85ec9d66 --- /dev/null +++ b/c/src/lib/libbsp/arm/lpc24xx/startup/linkcmds.lpc2478_ncs_ram @@ -0,0 +1,14 @@ +/** + * @file + * + * LPC2478 (NCS, code and data in external RAM). + */ + +MEMORY { + RAM_INT (AIW) : ORIGIN = 0x40000000, LENGTH = 64k + RAM_EXT (AIW) : ORIGIN = 0xa0000000, LENGTH = 8M + ROM_INT (RX) : ORIGIN = 0x00000000, LENGTH = 512k - 8k + NIRVANA : ORIGIN = 0, LENGTH = 0 +} + +INCLUDE linkcmds.base |