source: rtems/c/src/lib/libbsp/arm/lpc24xx/startup/linkcmds.lpc23xx_tli800 @ 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.5 KB
Line 
1/**
2 * @file
3 *
4 * @ingroup lpc24xx_linker_lpc23xx_tli800
5 *
6 * @brief Memory map.
7 */
8
9/**
10 * @defgroup lpc24xx_linker_lpc23xx_tli800 TLI800 Memory Map
11 *
12 * @ingroup bsp_linker
13 *
14 * @brief TLI800 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_BOOT</td><td>0x00000000</td><td>4k</td></tr>
22 *   <tr><td>ROM_CFG</td><td>0x00001000</td><td>4k</td></tr>
23 *   <tr><td>ROM_INT</td><td>0x00002000</td><td>120k</td></tr>
24 * </table>
25 *
26 * <table>
27 *   <tr><th>Section Name</th><th>Section Runtime Region</th><th>Section Load Region</th></tr>
28 *   <tr><td>.start</td><td>ROM_BOOT</td><td></td></tr>
29 *   <tr><td>.text</td><td>ROM_INT</td><td>ROM_INT</td></tr>
30 *   <tr><td>.rodata</td><td>ROM_INT</td><td>ROM_INT</td></tr>
31 *   <tr><td>.data</td><td>RAM_INT</td><td>ROM_INT</td></tr>
32 *   <tr><td>.fast</td><td>RAM_INT</td><td>ROM_INT</td></tr>
33 *   <tr><td>.bss</td><td>RAM_INT</td><td></td></tr>
34 *   <tr><td>.work</td><td>RAM_INT</td><td></td></tr>
35 *   <tr><td>.stack</td><td>RAM_INT</td><td></td></tr>
36 * </table>
37 */
38
39MEMORY {
40        RAM_INT (AIW) : ORIGIN = 0x40000000, LENGTH = 32k
41        RAM_USB (AIW) : ORIGIN = 0x7fd00000, LENGTH = 8k
42        RAM_ETH (AIW) : ORIGIN = 0x7fe00000, LENGTH = 16k
43        ROM_BOOT (RX) : ORIGIN = 0x00000000, LENGTH = 4k
44        ROM_CFG (RX)  : ORIGIN = 0x00001000, LENGTH = 4k
45        ROM_INT (RX)  : ORIGIN = 0x00002000, LENGTH = 120k
46        NIRVANA : ORIGIN = 0, LENGTH = 0
47}
48
49REGION_ALIAS ("REGION_START", ROM_BOOT);
50REGION_ALIAS ("REGION_VECTOR", RAM_INT);
51REGION_ALIAS ("REGION_TEXT", ROM_INT);
52REGION_ALIAS ("REGION_TEXT_LOAD", ROM_INT);
53REGION_ALIAS ("REGION_RODATA", ROM_INT);
54REGION_ALIAS ("REGION_RODATA_LOAD", ROM_INT);
55REGION_ALIAS ("REGION_DATA", RAM_INT);
56REGION_ALIAS ("REGION_DATA_LOAD", ROM_INT);
57REGION_ALIAS ("REGION_FAST", RAM_INT);
58REGION_ALIAS ("REGION_FAST_LOAD", ROM_INT);
59REGION_ALIAS ("REGION_BSS", RAM_INT);
60REGION_ALIAS ("REGION_WORK", RAM_INT);
61REGION_ALIAS ("REGION_STACK", RAM_INT);
62
63lpc24xx_region_heap_0_begin = ORIGIN (RAM_ETH);
64lpc24xx_region_heap_0_size = LENGTH (RAM_ETH);
65lpc24xx_region_heap_0_end = lpc24xx_region_heap_0_begin + lpc24xx_region_heap_0_size;
66
67lpc24xx_region_heap_1_begin = ORIGIN (RAM_USB);
68lpc24xx_region_heap_1_size = LENGTH (RAM_USB);
69lpc24xx_region_heap_1_end = lpc24xx_region_heap_1_begin + lpc24xx_region_heap_1_size;
70
71INCLUDE linkcmds.base
Note: See TracBrowser for help on using the repository browser.