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) */
31 .rodata : { *(.rodata*) } > FLASH_BANK0
35 /* initialized data */
36 .data : { *(.data) } > RAM
40 /* uninitialized data */
41 .bss : { *(.bss) } > RAM