summaryrefslogtreecommitdiff
path: root/ld_scripts/stm32_f04_6.ld
diff options
context:
space:
mode:
authorVegard Storheil Eriksen <zyp@jvnv.net>2019-03-19 12:56:52 +0100
committerVegard Storheil Eriksen <v.eriksen@diinef.com>2019-03-19 13:02:30 +0100
commit6572616a6b4bded686a22377d839cef7506de24d (patch)
treef2cc96b9eddafdc6dd29c9ae4f7feb54dda8fa9d /ld_scripts/stm32_f04_6.ld
parentf1475a7e6cb3077781199981bc3ee74e4ba29b86 (diff)
Added STM32F042 support.
Diffstat (limited to 'ld_scripts/stm32_f04_6.ld')
-rw-r--r--ld_scripts/stm32_f04_6.ld6
1 files changed, 6 insertions, 0 deletions
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"