summaryrefslogtreecommitdiff
path: root/ld_scripts
diff options
context:
space:
mode:
authorVegard Storheil Eriksen <zyp@jvnv.net>2012-11-19 19:11:57 +0100
committerVegard Storheil Eriksen <zyp@jvnv.net>2012-11-19 19:11:57 +0100
commitac17bb052b9056122dbae6867d4c5252c8eafb47 (patch)
tree147c586118903f9df3a4df98f880cc14045ad3f1 /ld_scripts
parent2abe655e4b7b49377c6cb43d6959c897866ed4c2 (diff)
Added support for F3.
Diffstat (limited to 'ld_scripts')
-rw-r--r--ld_scripts/stm32_f303_b.ld7
-rw-r--r--ld_scripts/stm32_f303_c.ld7
-rw-r--r--ld_scripts/stm32_f373_8.ld6
-rw-r--r--ld_scripts/stm32_f373_b.ld6
-rw-r--r--ld_scripts/stm32_f373_c.ld6
5 files changed, 32 insertions, 0 deletions
diff --git a/ld_scripts/stm32_f303_b.ld b/ld_scripts/stm32_f303_b.ld
new file mode 100644
index 0000000..a0cb6b1
--- /dev/null
+++ b/ld_scripts/stm32_f303_b.ld
@@ -0,0 +1,7 @@
+MEMORY {
+ flash (rx) : org = 0x08000000, len = 128k
+ ram (rwx) : org = 0x20000000, len = 32k
+ ccm (rwx) : org = 0x10000000, len = 8k
+}
+
+INCLUDE "arm_flash_ram.ld"
diff --git a/ld_scripts/stm32_f303_c.ld b/ld_scripts/stm32_f303_c.ld
new file mode 100644
index 0000000..4cc4894
--- /dev/null
+++ b/ld_scripts/stm32_f303_c.ld
@@ -0,0 +1,7 @@
+MEMORY {
+ flash (rx) : org = 0x08000000, len = 256k
+ ram (rwx) : org = 0x20000000, len = 40k
+ ccm (rwx) : org = 0x10000000, len = 8k
+}
+
+INCLUDE "arm_flash_ram.ld"
diff --git a/ld_scripts/stm32_f373_8.ld b/ld_scripts/stm32_f373_8.ld
new file mode 100644
index 0000000..929ee6e
--- /dev/null
+++ b/ld_scripts/stm32_f373_8.ld
@@ -0,0 +1,6 @@
+MEMORY {
+ flash (rx) : org = 0x08000000, len = 64k
+ ram (rwx) : org = 0x20000000, len = 16k
+}
+
+INCLUDE "arm_flash_ram.ld"
diff --git a/ld_scripts/stm32_f373_b.ld b/ld_scripts/stm32_f373_b.ld
new file mode 100644
index 0000000..ab6620c
--- /dev/null
+++ b/ld_scripts/stm32_f373_b.ld
@@ -0,0 +1,6 @@
+MEMORY {
+ flash (rx) : org = 0x08000000, len = 128k
+ ram (rwx) : org = 0x20000000, len = 24k
+}
+
+INCLUDE "arm_flash_ram.ld"
diff --git a/ld_scripts/stm32_f373_c.ld b/ld_scripts/stm32_f373_c.ld
new file mode 100644
index 0000000..812a041
--- /dev/null
+++ b/ld_scripts/stm32_f373_c.ld
@@ -0,0 +1,6 @@
+MEMORY {
+ flash (rx) : org = 0x08000000, len = 256k
+ ram (rwx) : org = 0x20000000, len = 32k
+}
+
+INCLUDE "arm_flash_ram.ld"