X-Git-Url: http://git.asbjorn.biz/?p=rapper.git;a=blobdiff_plain;f=new_cmsis%2Fusb%2FLPC1768-flash.ld;fp=new_cmsis%2Fusb%2FLPC1768-flash.ld;h=0000000000000000000000000000000000000000;hp=cebf9547305ee3102f3f9a8a24b685f20f7262b2;hb=2253dc3498d4ace7f07884ec6d40d654ca677571;hpb=678d5839c35477bcb24f2a29ebb5bce4ce5f8152 diff --git a/new_cmsis/usb/LPC1768-flash.ld b/new_cmsis/usb/LPC1768-flash.ld deleted file mode 100644 index cebf954..0000000 --- a/new_cmsis/usb/LPC1768-flash.ld +++ /dev/null @@ -1,50 +0,0 @@ -/* - * This is the NXP LPC1768 linker file for code running from flash. - * - * TODO: - * - handle the exotic input sections (e.g. glue and veneer, C++ sections) - * - add additional Ethernet and USB RAM memory regions (2x16k) - * - add boot ROM memory regions - * - * See also: http://bitbucket.org/jpc/lpc1768/ - * - * Copyright (c) 2010 LoEE - Jakub Piotr Cłapa - * This program is released under the new BSD license. - */ -OUTPUT_FORMAT("elf32-littlearm") -OUTPUT_ARCH(arm) - -ENTRY(Reset_Handler) - -MEMORY { - flash (rx) : ORIGIN = 0x00000000, LENGTH = 512K - ram (rwx) : ORIGIN = 0x10000000, LENGTH = 32K -} - -SECTIONS { - . = 0; - - .text : { - _stext = .; - KEEP(*(.isr_vector)) - *(.text*) - *(.rodata*) - . = ALIGN(4); - _etext = .; - } > flash - - .data : { - _sdata = .; - *(.data*) - _edata = .; - } > ram AT > flash - - .bss : { - _sbss = .; - *(.bss*) - . = ALIGN(4); - _ebss = .; - } > ram - - _sstack = ORIGIN(ram) + LENGTH(ram); -}