source: rtems/c/src/lib/libbsp/arm/lpc24xx/startup/linkcmds.lpc2362 @ b18fd86

4.115
Last change on this file since b18fd86 was b18fd86, checked in by Sebastian Huber <sebastian.huber@…>, on Jun 23, 2010 at 8:11:28 AM

2010-06-23 Sebastian Huber <sebastian.huber@…>

  • make/custom/lpc23xx_tli800.cfg, startup/linkcmds.lpc23xx_tli800: New files.
  • Makefile.am, configure.ac: Reflect changes above.
  • startup/linkcmds.lpc2362: Typos.
  • README: Documentation.
  • Property mode set to 100644
File size: 2.3 KB
Line 
1/**
2 * @file
3 *
4 * @ingroup lpc24xx_linker_lpc2362
5 *
6 * @brief Memory map.
7 */
8
9/**
10 * @defgroup lpc24xx_linker_lpc2362 LPC2362 Memory Map
11 *
12 * @ingroup bsp_linker
13 *
14 * @brief LPC2362 memory map.
15 *
16 * <table>
17 *   <tr><th>Region Name</th><th>Region Begin</th><th>Region Size</th></tr>
18 *   <tr><td>RAM_INT</td><td>0x40000000</td><td>32k</td></tr>
19 *   <tr><td>RAM_USB</td><td>0x7fd00000</td><td>8k</td></tr>
20 *   <tr><td>RAM_ETH</td><td>0x7fe00000</td><td>16k</td></tr>
21 *   <tr><td>ROM_INT</td><td>0x00000000</td><td>128k</td></tr>
22 * </table>
23 *
24 * <table>
25 *   <tr><th>Section Name</th><th>Section Runtime Region</th><th>Section Load Region</th></tr>
26 *   <tr><td>.start</td><td>ROM_INT</td><td></td></tr>
27 *   <tr><td>.text</td><td>ROM_INT</td><td>ROM_INT</td></tr>
28 *   <tr><td>.rodata</td><td>ROM_INT</td><td>ROM_INT</td></tr>
29 *   <tr><td>.data</td><td>RAM_INT</td><td>ROM_INT</td></tr>
30 *   <tr><td>.fast</td><td>RAM_INT</td><td>ROM_INT</td></tr>
31 *   <tr><td>.bss</td><td>RAM_INT</td><td></td></tr>
32 *   <tr><td>.work</td><td>RAM_INT</td><td></td></tr>
33 *   <tr><td>.stack</td><td>RAM_INT</td><td></td></tr>
34 * </table>
35 */
36
37MEMORY {
38        RAM_INT (AIW) : ORIGIN = 0x40000000, LENGTH = 32k
39        RAM_USB (AIW) : ORIGIN = 0x7fd00000, LENGTH = 8k
40        RAM_ETH (AIW) : ORIGIN = 0x7fe00000, LENGTH = 16k
41        ROM_INT (RX)  : ORIGIN = 0x00000000, LENGTH = 128k
42        NIRVANA : ORIGIN = 0, LENGTH = 0
43}
44
45REGION_ALIAS ("REGION_START", ROM_INT);
46REGION_ALIAS ("REGION_VECTOR", RAM_INT);
47REGION_ALIAS ("REGION_TEXT", ROM_INT);
48REGION_ALIAS ("REGION_TEXT_LOAD", ROM_INT);
49REGION_ALIAS ("REGION_RODATA", ROM_INT);
50REGION_ALIAS ("REGION_RODATA_LOAD", ROM_INT);
51REGION_ALIAS ("REGION_DATA", RAM_INT);
52REGION_ALIAS ("REGION_DATA_LOAD", ROM_INT);
53REGION_ALIAS ("REGION_FAST", RAM_INT);
54REGION_ALIAS ("REGION_FAST_LOAD", ROM_INT);
55REGION_ALIAS ("REGION_BSS", RAM_INT);
56REGION_ALIAS ("REGION_WORK", RAM_INT);
57REGION_ALIAS ("REGION_STACK", RAM_INT);
58
59lpc24xx_region_heap_0_begin = ORIGIN (RAM_ETH);
60lpc24xx_region_heap_0_size = LENGTH (RAM_ETH);
61lpc24xx_region_heap_0_end = lpc24xx_region_heap_0_begin + lpc24xx_region_heap_0_size;
62
63lpc24xx_region_heap_1_begin = ORIGIN (RAM_USB);
64lpc24xx_region_heap_1_size = LENGTH (RAM_USB);
65lpc24xx_region_heap_1_end = lpc24xx_region_heap_1_begin + lpc24xx_region_heap_1_size;
66
67INCLUDE linkcmds.base
Note: See TracBrowser for help on using the repository browser.