aboutsummaryrefslogtreecommitdiff
path: root/examples/lisa-m/usb_dfu/usbdfu.ld
diff options
context:
space:
mode:
authorUwe Hermann2010-12-29 15:12:23 +0100
committerUwe Hermann2010-12-29 15:12:23 +0100
commit1c6d7cf06a099294df30ccfd8139bad573140dba (patch)
treef25bfa478e3b9afb938e6cd863c8b9ffcb8cb47e /examples/lisa-m/usb_dfu/usbdfu.ld
parent66fd5373b4d1f99d2b34b7223c8964e3cb70de9f (diff)
parent586a4740d57ede9cd6cc4dd8f2d478c1244ee691 (diff)
Merge branch 'martinmm'.
Diffstat (limited to 'examples/lisa-m/usb_dfu/usbdfu.ld')
-rw-r--r--examples/lisa-m/usb_dfu/usbdfu.ld29
1 files changed, 29 insertions, 0 deletions
diff --git a/examples/lisa-m/usb_dfu/usbdfu.ld b/examples/lisa-m/usb_dfu/usbdfu.ld
new file mode 100644
index 0000000..d7cd0c5
--- /dev/null
+++ b/examples/lisa-m/usb_dfu/usbdfu.ld
@@ -0,0 +1,29 @@
+/*
+ * This file is part of the libopenstm32 project.
+ *
+ * Copyright (C) 2010 Thomas Otto <tommi@viadmin.org>
+ *
+ * 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/>.
+ */
+
+/* Define memory regions. */
+MEMORY
+{
+ rom (rx) : ORIGIN = 0x08000000, LENGTH =8K
+ ram (rwx) : ORIGIN = 0x20000000, LENGTH = 4K
+}
+
+/* Include the common ld script from libopenstm32. */
+INCLUDE libopenstm32.ld
+