aboutsummaryrefslogtreecommitdiff
path: root/examples/lm4f/stellaris-ek-lm4f120xl/ek-lm4f120xl.ld
diff options
context:
space:
mode:
authorAlexandru Gagniuc2012-11-22 12:05:33 -0600
committerAlexandru Gagniuc2012-12-31 01:35:27 -0600
commitc02fba51a47a68aea3233608f8d127520a1eefec (patch)
tree2e4e629b676eee66ab61e7546afc59313f9f5165 /examples/lm4f/stellaris-ek-lm4f120xl/ek-lm4f120xl.ld
parent326c945b55d6dd1cf153c6ca8715685a968b1384 (diff)
lm4f: Add exammple for Stellaris Launchpad board
Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Diffstat (limited to 'examples/lm4f/stellaris-ek-lm4f120xl/ek-lm4f120xl.ld')
-rw-r--r--examples/lm4f/stellaris-ek-lm4f120xl/ek-lm4f120xl.ld31
1 files changed, 31 insertions, 0 deletions
diff --git a/examples/lm4f/stellaris-ek-lm4f120xl/ek-lm4f120xl.ld b/examples/lm4f/stellaris-ek-lm4f120xl/ek-lm4f120xl.ld
new file mode 100644
index 0000000..8a096fa
--- /dev/null
+++ b/examples/lm4f/stellaris-ek-lm4f120xl/ek-lm4f120xl.ld
@@ -0,0 +1,31 @@
+/*
+ * This file is part of the libopencm3 project.
+ *
+ * Copyright (C) 2010 Uwe Hermann <uwe@hermann-uwe.de>
+ *
+ * This library is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * along with this library. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+/* Linker script for TI Stellaris EX-LM4F120XL evaluation board. */
+
+/* Define memory regions. */
+MEMORY
+{
+ rom (rx) : ORIGIN = 0x00000000, LENGTH = 256K
+ ram (rwx) : ORIGIN = 0x20000000, LENGTH = 32K
+}
+
+/* Include the common ld script. */
+INCLUDE libopencm3_lm4f.ld
+