]> rtime.felk.cvut.cz Git - sysless.git/blob - arch/arm/mach-lpc13xx/libs/ldscripts/lpc1311.ld-flash
Added basic support for NXP LPC13xx ARM Cortex M3 MCUs
[sysless.git] / arch / arm / mach-lpc13xx / libs / ldscripts / lpc1311.ld-flash
1 /*
2  * LPC1311 internal FLASH (8KB FLASH + 4KB SRAM)
3  */
4
5 STARTUP(crt0_13xx.o)
6 INCLUDE board.ld                /* Allow to INPUT board specific files */
7
8 ENTRY(_start)
9 STACK_SIZE = 0x400;
10
11 /* memory definitions */
12 MEMORY
13 {
14   FLASH    (rx) : ORIGIN = 0x00000000, LENGTH = 0x02000
15   RAM      (rw) : ORIGIN = 0x10000000, LENGTH = 0x01000
16 }
17
18 /* include section definitions */
19 INCLUDE lpc13xx-flash.ld