aboutsummaryrefslogtreecommitdiffstats
path: root/support/ld
diff options
context:
space:
mode:
authorbryan newbold <bnewbold@robocracy.org>2014-10-06 15:23:53 -0700
committerbnewbold <bnewbold@robocracy.org>2015-03-01 21:42:26 -0800
commit5bbdf71551efaf7a1da72d76509795ed304538a8 (patch)
treeac8522ccb963d2db63add0adba48214de027b468 /support/ld
parent137406d1bb438b3f91a6f650f15a5a031aa102fc (diff)
downloadlibrambutan-5bbdf71551efaf7a1da72d76509795ed304538a8.tar.gz
librambutan-5bbdf71551efaf7a1da72d76509795ed304538a8.zip
stm32f4: add sram_64k_flash_128k linker script
This supports, eg, the STM32F401xB chip family.
Diffstat (limited to 'support/ld')
-rw-r--r--support/ld/stm32/mem/sram_64k_flash_128k/mem-jtag.inc5
1 files changed, 5 insertions, 0 deletions
diff --git a/support/ld/stm32/mem/sram_64k_flash_128k/mem-jtag.inc b/support/ld/stm32/mem/sram_64k_flash_128k/mem-jtag.inc
new file mode 100644
index 0000000..e5a30cb
--- /dev/null
+++ b/support/ld/stm32/mem/sram_64k_flash_128k/mem-jtag.inc
@@ -0,0 +1,5 @@
+MEMORY
+{
+ ram (rwx) : ORIGIN = 0x20000000, LENGTH = 64K
+ rom (rx) : ORIGIN = 0x08000000, LENGTH = 128K
+}