source: rtems/c/src/lib/libbsp/arm/lpc32xx/startup/linkcmds.lpc32xx_phycore @ 598a4505

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

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

  • include/lpc32xx.h: Added I2S module.
  • Makefile.am, bsp_specs, preinstall.am, startup/bspstarthooks.c, startup/linkcmds.lpc32xx, startup/linkcmds.lpc32xx_mzx, startup/linkcmds.lpc32xx_mzx_stage_1, startup/linkcmds.lpc32xx_mzx_stage_2, startup/linkcmds.lpc32xx_phycore: Update due to linker command file changes.
  • Property mode set to 100644
File size: 2.3 KB
Line 
1/**
2 * @file
3 *
4 * @ingroup lpc32xx_linker_phycore
5 *
6 * @brief Memory map.
7 */
8
9/**
10 * @defgroup lpc32xx_linker_phycore phyCORE-LPC3250 Memory Map
11 *
12 * @ingroup bsp_linker
13 *
14 * @brief phyCORE-LPC3250 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>0x08000000</td><td>256k</td></tr>
19 *   <tr><td>RAM_MMU</td><td>0x80000000</td><td>16k</td></tr>
20 *   <tr><td>RAM_EXT</td><td>0x80004000</td><td>64M - 16k</td></tr>
21 *   <tr><td>ROM_EXT</td><td>0xe0000000</td><td>2M</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>RAM_EXT</td><td></td></tr>
27 *   <tr><td>.vector</td><td>RAM_INT</td><td></td></tr>
28 *   <tr><td>.text</td><td>RAM_EXT</td><td>RAM_EXT</td></tr>
29 *   <tr><td>.rodata</td><td>RAM_EXT</td><td>RAM_EXT</td></tr>
30 *   <tr><td>.data</td><td>RAM_EXT</td><td>RAM_EXT</td></tr>
31 *   <tr><td>.fast</td><td>RAM_EXT</td><td>RAM_EXT</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 * </table>
36 */
37
38MEMORY {
39        RAM_INT : ORIGIN = 0x08000000, LENGTH = 256k
40        RAM_MMU : ORIGIN = 0x80000000, LENGTH = 16k /* SDRAM on DYCS0 */
41        RAM_EXT : ORIGIN = 0x80004000, LENGTH = 64M - 16k /* SDRAM on DYCS0 */
42        ROM_EXT : ORIGIN = 0xe0000000, LENGTH = 2M /* NOR flash on CS0 */
43        NIRVANA : ORIGIN = 0, LENGTH = 0
44}
45
46REGION_ALIAS ("REGION_START", RAM_EXT);
47REGION_ALIAS ("REGION_VECTOR", RAM_INT);
48REGION_ALIAS ("REGION_TEXT", RAM_EXT);
49REGION_ALIAS ("REGION_TEXT_LOAD", RAM_EXT);
50REGION_ALIAS ("REGION_RODATA", RAM_EXT);
51REGION_ALIAS ("REGION_RODATA_LOAD", RAM_EXT);
52REGION_ALIAS ("REGION_DATA", RAM_EXT);
53REGION_ALIAS ("REGION_DATA_LOAD", RAM_EXT);
54REGION_ALIAS ("REGION_FAST", RAM_EXT);
55REGION_ALIAS ("REGION_FAST_LOAD", RAM_EXT);
56REGION_ALIAS ("REGION_BSS", RAM_EXT);
57REGION_ALIAS ("REGION_WORK", RAM_EXT);
58REGION_ALIAS ("REGION_STACK", RAM_INT);
59
60bsp_stack_irq_size = DEFINED (bsp_stack_irq_size) ? bsp_stack_irq_size : 4096;
61bsp_stack_abt_size = DEFINED (bsp_stack_abt_size) ? bsp_stack_abt_size : 1024;
62
63bsp_section_robarrier_align = DEFINED (bsp_section_robarrier_align) ? bsp_section_robarrier_align : 1M;
64
65INCLUDE linkcmds.lpc32xx
Note: See TracBrowser for help on using the repository browser.