summaryrefslogtreecommitdiff
path: root/boards/ek-lm4f120xl/stellaris-vga/stellaris-vga.ld
diff options
context:
space:
mode:
Diffstat (limited to 'boards/ek-lm4f120xl/stellaris-vga/stellaris-vga.ld')
-rw-r--r--boards/ek-lm4f120xl/stellaris-vga/stellaris-vga.ld33
1 files changed, 33 insertions, 0 deletions
diff --git a/boards/ek-lm4f120xl/stellaris-vga/stellaris-vga.ld b/boards/ek-lm4f120xl/stellaris-vga/stellaris-vga.ld
new file mode 100644
index 0000000..80efb56
--- /dev/null
+++ b/boards/ek-lm4f120xl/stellaris-vga/stellaris-vga.ld
@@ -0,0 +1,33 @@
+MEMORY
+{
+ FLASH (rx) : ORIGIN = 0x00000000, LENGTH = 0x00040000
+ SRAM (rwx) : ORIGIN = 0x20000000, LENGTH = 0x00008000
+}
+
+SECTIONS
+{
+ .text :
+ {
+ _text = .;
+ KEEP(*(.isr_vector))
+ *(.text*)
+ *(.rodata*)
+ _etext = .;
+ } > FLASH
+
+ .data : AT(ADDR(.text) + SIZEOF(.text))
+ {
+ _data = .;
+ *(vtable)
+ *(.data*)
+ _edata = .;
+ } > SRAM
+
+ .bss :
+ {
+ _bss = .;
+ *(.bss*)
+ *(COMMON)
+ _ebss = .;
+ } > SRAM
+}