aboutsummaryrefslogtreecommitdiffstats
path: root/stm32conf/lanchon-stm32.ld
diff options
context:
space:
mode:
authoriperry <iperry@749a229e-a60e-11de-b98f-4500b42dc123>2009-12-17 02:37:07 +0000
committeriperry <iperry@749a229e-a60e-11de-b98f-4500b42dc123>2009-12-17 02:37:07 +0000
commit32e57dac2e61e79b029593eb4d34d727bcc10678 (patch)
tree98d7ff41993576bb150d13d5f63dc744f6812852 /stm32conf/lanchon-stm32.ld
downloadlibrambutan-32e57dac2e61e79b029593eb4d34d727bcc10678.tar.gz
librambutan-32e57dac2e61e79b029593eb4d34d727bcc10678.zip
Initial commit of library code, moved from leaftest repo
git-svn-id: https://leaflabs.googlecode.com/svn/trunk/library@69 749a229e-a60e-11de-b98f-4500b42dc123
Diffstat (limited to 'stm32conf/lanchon-stm32.ld')
-rw-r--r--stm32conf/lanchon-stm32.ld20
1 files changed, 20 insertions, 0 deletions
diff --git a/stm32conf/lanchon-stm32.ld b/stm32conf/lanchon-stm32.ld
new file mode 100644
index 0000000..504f1d4
--- /dev/null
+++ b/stm32conf/lanchon-stm32.ld
@@ -0,0 +1,20 @@
+/* Linker script for STM32 (by Lanchon)
+ *
+ * Configure target memory and included script
+ * according to your application requirements. */
+
+/* Define memory spaces. */
+MEMORY
+{
+ ram (rwx) : ORIGIN = 0x20000000, LENGTH = 20K
+ rom (rx) : ORIGIN = 0x00000000, LENGTH = 128K
+}
+
+/* Include the appropriate script.
+ * Options:
+ * lanchon-stm32-rom.ld
+ * lanchon-stm32-rom-hosted.ld
+ * lanchon-stm32-ram.ld
+ * lanchon-stm32-ram-hosted.ld
+ */
+INCLUDE "lanchon-stm32-rom.ld"