aboutsummaryrefslogtreecommitdiff
path: root/support
diff options
context:
space:
mode:
authormlundinse <lundin@mlu.mine.nu>2013-04-29 21:19:06 +0200
committermlundinse <lundin@mlu.mine.nu>2013-04-29 21:19:06 +0200
commit1f493e6a48760873c18f3b4ffbf405129b9400d0 (patch)
treefc52f9bb3fbd900736cdad90911f0c7b6e068d78 /support
parent651faf0a803c587a683bf14d531ce9f16013faeb (diff)
Linker files for F20x boards with 768k flash
Diffstat (limited to 'support')
-rw-r--r--support/ld/extra_libs.inc1
-rw-r--r--support/ld/stm32/mem/sram_112k_flash_768k/mem-jtag.inc5
-rw-r--r--support/ld/stm32/mem/sram_112k_flash_768k/mem-ram.inc5
3 files changed, 11 insertions, 0 deletions
diff --git a/support/ld/extra_libs.inc b/support/ld/extra_libs.inc
new file mode 100644
index 0000000..1216f97
--- /dev/null
+++ b/support/ld/extra_libs.inc
@@ -0,0 +1 @@
+/* toolchain specific stuff */
diff --git a/support/ld/stm32/mem/sram_112k_flash_768k/mem-jtag.inc b/support/ld/stm32/mem/sram_112k_flash_768k/mem-jtag.inc
new file mode 100644
index 0000000..d62fb7a
--- /dev/null
+++ b/support/ld/stm32/mem/sram_112k_flash_768k/mem-jtag.inc
@@ -0,0 +1,5 @@
+MEMORY
+{
+ ram (rwx) : ORIGIN = 0x20000000, LENGTH = 112K
+ rom (rx) : ORIGIN = 0x08000000, LENGTH = 768K
+}
diff --git a/support/ld/stm32/mem/sram_112k_flash_768k/mem-ram.inc b/support/ld/stm32/mem/sram_112k_flash_768k/mem-ram.inc
new file mode 100644
index 0000000..d21f17c
--- /dev/null
+++ b/support/ld/stm32/mem/sram_112k_flash_768k/mem-ram.inc
@@ -0,0 +1,5 @@
+MEMORY
+{
+ ram (rwx) : ORIGIN = 0x20000000, LENGTH = 112K
+ rom (rx) : ORIGIN = 0x08000000, LENGTH = 0K
+}