2 * lpc2220_rom.ld - linker script for the lpc2220 device (->rom)
4 * author: hackbard@hackdaworld.org
8 /* memory definitions */
11 FLASH_BANK0 (rx) : ORIGIN=0x80000000, LENGTH=0x00100000
12 FLASH_BANK2 (rx) : ORIGIN=0x82000000, LENGTH=0x00100000
13 RAM (rw) : ORIGIN=0x40000000, LENGTH=0x00010000
16 /* section definitions */
20 /* startup and user code (.text) */
22 startup.o(.text) // startup code
24 *(.glue_7) // glue code
25 *(.glue_7t) // glue code
31 .rodata : { *(.rodata) } > FLASH_BANK0
35 /* initialized data */
36 .data : { *(.data) } > RAM
40 /* uninitialized data */
41 .bss : { *(.bss) } > RAM