]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - armsrc/ldscript-fpga
Add a common linker script with the memory map for the complete project
[proxmark3-svn] / armsrc / ldscript-fpga
index da8b1a21d802e5b4411ec329473eaf9f1b4668b1..4c926bf8ce7a4ec1fc09bc14a1e93f074cfd8a2f 100644 (file)
@@ -1,11 +1,13 @@
+INCLUDE ../common/ldscript.common\r
+\r
 SECTIONS\r
 {\r
-       . = 0x00002000;\r
-       .text : { obj/fpgaimg.o(.text) *(.text) }\r
-       .rodata : { *(.rodata) }\r
-       . = 0x00200000;\r
-       .data : { *(.data) }\r
+       fpgaimage : { \r
+               obj/fpgaimg.o(.text) *(.text) \r
+               *(.rodata) \r
+       } >fpgaimage\r
+       .data : { *(.data) } >ram\r
        __bss_start__ = .;\r
-       .bss : { *(.bss) }\r
+       .bss : { *(.bss) } >ram\r
        __bss_end__ = .;\r
 }\r
Impressum, Datenschutz