From 6572616a6b4bded686a22377d839cef7506de24d Mon Sep 17 00:00:00 2001 From: Vegard Storheil Eriksen Date: Tue, 19 Mar 2019 12:56:52 +0100 Subject: Added STM32F042 support. --- ld_scripts/stm32_f04_6.ld | 6 ++++++ ld_scripts/stm32_f05_8.ld | 6 ++++++ ld_scripts/stm32_f0_8.ld | 6 ------ 3 files changed, 12 insertions(+), 6 deletions(-) create mode 100644 ld_scripts/stm32_f04_6.ld create mode 100644 ld_scripts/stm32_f05_8.ld delete mode 100644 ld_scripts/stm32_f0_8.ld (limited to 'ld_scripts') diff --git a/ld_scripts/stm32_f04_6.ld b/ld_scripts/stm32_f04_6.ld new file mode 100644 index 0000000..f96278d --- /dev/null +++ b/ld_scripts/stm32_f04_6.ld @@ -0,0 +1,6 @@ +MEMORY { + flash (rx) : org = 0x08000000, len = 32k + ram (rwx) : org = 0x20000000, len = 6k +} + +INCLUDE "arm_flash_ram.ld" diff --git a/ld_scripts/stm32_f05_8.ld b/ld_scripts/stm32_f05_8.ld new file mode 100644 index 0000000..289255c --- /dev/null +++ b/ld_scripts/stm32_f05_8.ld @@ -0,0 +1,6 @@ +MEMORY { + flash (rx) : org = 0x08000000, len = 64k + ram (rwx) : org = 0x20000000, len = 8k +} + +INCLUDE "arm_flash_ram.ld" diff --git a/ld_scripts/stm32_f0_8.ld b/ld_scripts/stm32_f0_8.ld deleted file mode 100644 index 289255c..0000000 --- a/ld_scripts/stm32_f0_8.ld +++ /dev/null @@ -1,6 +0,0 @@ -MEMORY { - flash (rx) : org = 0x08000000, len = 64k - ram (rwx) : org = 0x20000000, len = 8k -} - -INCLUDE "arm_flash_ram.ld" -- cgit v1.2.3