aboutsummaryrefslogtreecommitdiff
path: root/examples/MB525/fancyblink/fancyblink.ld
diff options
context:
space:
mode:
authorPiotr Esden-Tempski2010-01-22 13:00:13 +0100
committerPiotr Esden-Tempski2010-01-25 17:22:11 +0100
commit699ec0fb1538a0333d1d0da60ad3206bfc4f7f1c (patch)
treeb7d69a453074552c214c12713306c813a9e54f31 /examples/MB525/fancyblink/fancyblink.ld
parent3a4f36d80f2a8fd93727fc6d024b48f0a7511c9f (diff)
Added fancyblink example for the MB525 eval board.
Diffstat (limited to 'examples/MB525/fancyblink/fancyblink.ld')
-rw-r--r--examples/MB525/fancyblink/fancyblink.ld31
1 files changed, 31 insertions, 0 deletions
diff --git a/examples/MB525/fancyblink/fancyblink.ld b/examples/MB525/fancyblink/fancyblink.ld
new file mode 100644
index 0000000..0445bab
--- /dev/null
+++ b/examples/MB525/fancyblink/fancyblink.ld
@@ -0,0 +1,31 @@
+/*
+ * This file is part of the libopenstm32 project.
+ *
+ * Copyright (C) 2009 Uwe Hermann <uwe@hermann-uwe.de>
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program 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 General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+/* Linker script for Olimex STM32-H103 (STM32F103RBT6, 128K flash, 20K RAM). */
+
+/* Define memory regions. */
+MEMORY
+{
+ rom (rx) : ORIGIN = 0x00000000, LENGTH = 128K
+ ram (rwx) : ORIGIN = 0x20000000, LENGTH = 20K
+}
+
+/* Include the common ld script from libopenstm32. */
+INCLUDE libopenstm32.ld
+