aboutsummaryrefslogtreecommitdiffstats
path: root/support/ld
diff options
context:
space:
mode:
Diffstat (limited to 'support/ld')
-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