From ac17bb052b9056122dbae6867d4c5252c8eafb47 Mon Sep 17 00:00:00 2001 From: Vegard Storheil Eriksen Date: Mon, 19 Nov 2012 19:11:57 +0100 Subject: Added support for F3. --- ld_scripts/stm32_f303_b.ld | 7 +++++++ ld_scripts/stm32_f303_c.ld | 7 +++++++ ld_scripts/stm32_f373_8.ld | 6 ++++++ ld_scripts/stm32_f373_b.ld | 6 ++++++ ld_scripts/stm32_f373_c.ld | 6 ++++++ 5 files changed, 32 insertions(+) create mode 100644 ld_scripts/stm32_f303_b.ld create mode 100644 ld_scripts/stm32_f303_c.ld create mode 100644 ld_scripts/stm32_f373_8.ld create mode 100644 ld_scripts/stm32_f373_b.ld create mode 100644 ld_scripts/stm32_f373_c.ld (limited to 'ld_scripts') 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" -- cgit v1.2.3