source: rtems/c/src/lib/libbsp/arm/lpc24xx/startup/linkcmds.lpc24xx_ncs_rom_int @ dd853a3

4.115
Last change on this file since dd853a3 was dd853a3, checked in by Sebastian Huber <sebastian.huber@…>, on Dec 3, 2010 at 9:56:48 AM

2010-12-03 Sebastian Huber <sebastian.huber@…>

  • include/lcd.h, misc/lcd.c: New files.
  • misc/io.c, include/io.h: Documentation, bug fixes, more configurations.
  • include/lpc24xx.h: Added DAC and I2S.
  • Makefile.am, bsp_specs, preinstall.am, startup/bspstarthooks.c, startup/linkcmds.lpc2362, startup/linkcmds.lpc23xx_tli800, startup/linkcmds.lpc24xx_ea, startup/linkcmds.lpc24xx_ncs_ram, startup/linkcmds.lpc24xx_ncs_rom_ext, startup/linkcmds.lpc24xx_ncs_rom_int: Update due to linker command file changes.
  • Property mode set to 100644
File size: 2.0 KB
Line 
1/**
2 * @file
3 *
4 * @ingroup lpc24xx_linker_ncs_rom_int
5 *
6 * @brief Memory map.
7 */
8
9/**
10 * @defgroup lpc24xx_linker_ncs_rom_int NCS Bootloader (LPC2478) Memory Map
11 *
12 * @ingroup bsp_linker
13 *
14 * @brief NCS bootloader (LPC2478) memory map.
15 *
16 * <table>
17 *   <tr><th>Region Name</th><th>Region Begin</th><th>Region Size</th></tr>
18 *   <tr><td>RAM_VEC</td><td>0x40000000</td><td>32k</td></tr>
19 *   <tr><td>RAM_INT</td><td>0x40008000</td><td>32k</td></tr>
20 *   <tr><td>RAM_EXT</td><td>0xa0400000</td><td>4M</td></tr>
21 *   <tr><td>ROM_INT</td><td>0x00000000</td><td>512k - 8k</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>.vector</td><td>RAM_VEC</td><td></td></tr>
28 *   <tr><td>.text</td><td>ROM_INT</td><td>ROM_INT</td></tr>
29 *   <tr><td>.rodata</td><td>ROM_INT</td><td>ROM_INT</td></tr>
30 *   <tr><td>.data</td><td>RAM_EXT</td><td>ROM_INT</td></tr>
31 *   <tr><td>.fast</td><td>RAM_INT</td><td>ROM_INT</td></tr>
32 *   <tr><td>.bss</td><td>RAM_EXT</td><td></td></tr>
33 *   <tr><td>.work</td><td>RAM_EXT</td><td></td></tr>
34 *   <tr><td>.stack</td><td>RAM_INT</td><td></td></tr>
35 */
36
37
38MEMORY {
39        RAM_VEC (AIW) : ORIGIN = 0x40000000, LENGTH = 32k
40        RAM_INT (AIW) : ORIGIN = 0x40008000, LENGTH = 32k
41        RAM_EXT (AIW) : ORIGIN = 0xa0400000, LENGTH = 4M
42        ROM_INT (RX)  : ORIGIN = 0x00000000, LENGTH = 512k - 8k
43        NIRVANA : ORIGIN = 0, LENGTH = 0
44}
45
46REGION_ALIAS ("REGION_START", ROM_INT);
47REGION_ALIAS ("REGION_VECTOR", RAM_VEC);
48REGION_ALIAS ("REGION_TEXT", ROM_INT);
49REGION_ALIAS ("REGION_TEXT_LOAD", ROM_INT);
50REGION_ALIAS ("REGION_RODATA", ROM_INT);
51REGION_ALIAS ("REGION_RODATA_LOAD", ROM_INT);
52REGION_ALIAS ("REGION_DATA", RAM_EXT);
53REGION_ALIAS ("REGION_DATA_LOAD", ROM_INT);
54REGION_ALIAS ("REGION_FAST", RAM_INT);
55REGION_ALIAS ("REGION_FAST_LOAD", ROM_INT);
56REGION_ALIAS ("REGION_BSS", RAM_EXT);
57REGION_ALIAS ("REGION_WORK", RAM_EXT);
58REGION_ALIAS ("REGION_STACK", RAM_INT);
59
60INCLUDE linkcmds.armv4
Note: See TracBrowser for help on using the repository browser.