aboutsummaryrefslogtreecommitdiffstats
path: root/support/ld/st_stm3220g_eval
diff options
context:
space:
mode:
authorMarti Bolivar <mbolivar@leaflabs.com>2012-01-10 13:51:07 -0500
committerMarti Bolivar <mbolivar@leaflabs.com>2012-04-11 16:56:53 -0400
commit59e02b35a7714a6d10afbf33dd4ea933cfaebab4 (patch)
treec6830509fbeec6fe5bfb2eb9a02ed5f8dc076a15 /support/ld/st_stm3220g_eval
parent1ffbef80396cdb13a7976de0eefdc3017ca4499c (diff)
downloadlibrambutan-59e02b35a7714a6d10afbf33dd4ea933cfaebab4.tar.gz
librambutan-59e02b35a7714a6d10afbf33dd4ea933cfaebab4.zip
ld/make: Add support for STM3220G-EVAL board.
Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com>
Diffstat (limited to 'support/ld/st_stm3220g_eval')
-rw-r--r--support/ld/st_stm3220g_eval/jtag.ld17
1 files changed, 17 insertions, 0 deletions
diff --git a/support/ld/st_stm3220g_eval/jtag.ld b/support/ld/st_stm3220g_eval/jtag.ld
new file mode 100644
index 0000000..4193f5b
--- /dev/null
+++ b/support/ld/st_stm3220g_eval/jtag.ld
@@ -0,0 +1,17 @@
+/*
+ * STM3220G-EVAL (STM32F207IGH6) linker script for JTAG (bare metal,
+ * no bootloader) builds.
+ */
+
+MEMORY
+{
+ ram (rwx) : ORIGIN = 0x20000000, LENGTH = 128K
+ rom (rx) : ORIGIN = 0x08000000, LENGTH = 1024K
+}
+
+REGION_ALIAS("REGION_TEXT", rom);
+REGION_ALIAS("REGION_DATA", ram);
+REGION_ALIAS("REGION_BSS", ram);
+REGION_ALIAS("REGION_RODATA", rom);
+
+INCLUDE common.inc