source: rtems/c/src/lib/libbsp/arm/lpc24xx/startup/linkcmds.lpc2478_ncs_ram @ bdceecd2

4.104.115
Last change on this file since bdceecd2 was bdceecd2, checked in by Chris Johns <chrisj@…>, on 08/08/09 at 02:40:22

2009-08-06 Sebastian Huber <sebastian.huber@…>

  • startup/linkcmds, startup/linkcmds.lpc2478, startup/linkcmds.lpc2478_ncs, startup/linkcmds.lpc2478_ncs_ram: Fixed dummy entries.
  • Property mode set to 100644
File size: 1.8 KB
Line 
1/**
2 * @file
3 *
4 * LPC2478 (NCS, code and data in external RAM).
5 */
6
7/*
8 * WARNING: This is likely not what you want.  You need Binutils with the
9 * REGION_ALIAS feature and the version in the comment below.  This is only to
10 * provide linkable tests.
11 */
12
13MEMORY {
14        REGION_START (AIW) : ORIGIN = 0x100000, LENGTH = 0x100000
15        REGION_VECTOR (AIW) : ORIGIN = 0x200000, LENGTH = 0x100000
16        REGION_TEXT (AIW) : ORIGIN = 0x300000, LENGTH = 0x100000
17        REGION_TEXT_LOAD (AIW) : ORIGIN = 0x400000, LENGTH = 0x100000
18        REGION_RODATA (AIW) : ORIGIN = 0x500000, LENGTH = 0x100000
19        REGION_RODATA_LOAD (AIW) : ORIGIN = 0x600000, LENGTH = 0x100000
20        REGION_DATA (AIW) : ORIGIN = 0x700000, LENGTH = 0x100000
21        REGION_DATA_LOAD (AIW) : ORIGIN = 0x800000, LENGTH = 0x100000
22        REGION_FAST (AIW) : ORIGIN = 0x900000, LENGTH = 0x100000
23        REGION_FAST_LOAD (AIW) : ORIGIN = 0xa00000, LENGTH = 0x100000
24        REGION_BSS (AIW) : ORIGIN = 0xb00000, LENGTH = 0x100000
25        REGION_WORK (AIW) : ORIGIN = 0xc00000, LENGTH = 0x100000
26        REGION_STACK (AIW) : ORIGIN = 0xd00000, LENGTH = 0x100000
27        NIRVANA : ORIGIN = 0, LENGTH = 0
28}
29
30/*
31
32MEMORY {
33        RAM_INT (AIW) : ORIGIN = 0x40000000, LENGTH = 64k
34        RAM_EXT (AIW) : ORIGIN = 0xa0000000, LENGTH = 16M
35        ROM_INT (RX)  : ORIGIN = 0x00000000, LENGTH = 512k - 8k
36        NIRVANA : ORIGIN = 0, LENGTH = 0
37}
38
39REGION_ALIAS ("REGION_START", RAM_EXT);
40REGION_ALIAS ("REGION_VECTOR", RAM_INT);
41REGION_ALIAS ("REGION_TEXT", RAM_EXT);
42REGION_ALIAS ("REGION_TEXT_LOAD", RAM_EXT);
43REGION_ALIAS ("REGION_RODATA", RAM_EXT);
44REGION_ALIAS ("REGION_RODATA_LOAD", RAM_EXT);
45REGION_ALIAS ("REGION_DATA", RAM_EXT);
46REGION_ALIAS ("REGION_DATA_LOAD", RAM_EXT);
47REGION_ALIAS ("REGION_FAST", RAM_INT);
48REGION_ALIAS ("REGION_FAST_LOAD", RAM_INT);
49REGION_ALIAS ("REGION_BSS", RAM_EXT);
50REGION_ALIAS ("REGION_WORK", RAM_EXT);
51REGION_ALIAS ("REGION_STACK", RAM_INT);
52
53*/
54
55INCLUDE linkcmds.base
Note: See TracBrowser for help on using the repository browser.