diff options
author | Vegard Storheil Eriksen <zyp@jvnv.net> | 2015-03-29 21:37:03 +0200 |
---|---|---|
committer | Vegard Storheil Eriksen <zyp@jvnv.net> | 2015-03-29 21:37:03 +0200 |
commit | 49012588461f1a43e9e476f676d946d91c3df9e7 (patch) | |
tree | d9e6ab6bf279889ca660ddb86f3942d41e54bf3e /ld_scripts | |
parent | 7b4ba03bc45dfed09759b9d0f99f6ddfde51ac43 (diff) |
Added STM32L0 support.
Diffstat (limited to 'ld_scripts')
-rw-r--r-- | ld_scripts/arm_flash_ram.ld | 2 | ||||
-rw-r--r-- | ld_scripts/stm32_l0_8.ld | 6 |
2 files changed, 8 insertions, 0 deletions
diff --git a/ld_scripts/arm_flash_ram.ld b/ld_scripts/arm_flash_ram.ld index 9e3f983..34b8a80 100644 --- a/ld_scripts/arm_flash_ram.ld +++ b/ld_scripts/arm_flash_ram.ld @@ -75,4 +75,6 @@ SECTIONS { . = ALIGN(4); PROVIDE(_bss_end = .); } > ram + + PROVIDE(_ram_end = ORIGIN(ram) + LENGTH(ram)); } diff --git a/ld_scripts/stm32_l0_8.ld b/ld_scripts/stm32_l0_8.ld new file mode 100644 index 0000000..289255c --- /dev/null +++ b/ld_scripts/stm32_l0_8.ld @@ -0,0 +1,6 @@ +MEMORY { + flash (rx) : org = 0x08000000, len = 64k + ram (rwx) : org = 0x20000000, len = 8k +} + +INCLUDE "arm_flash_ram.ld" |