Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/thirdpin/libopencm3.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Palsson <karlp@tweak.net.au>2017-03-09 01:19:18 +0300
committerKarl Palsson <karlp@tweak.net.au>2017-03-31 00:48:07 +0300
commitd260f5c5394711559e010912d6681384a8b0f76b (patch)
tree9c15ea8d85ad2ad44fba8994e43e0335d6d2a2fa /ld/devices.data
parent623fabca5fdaadf906148fbc251a766a52b12e6b (diff)
stm32l476: split sram sections for ld generator
The 128K of SRAM on the l476 devices is 96K of "normal" sram, and 32K of parity SRAM at a different offset. Fixes: https://github.com/libopencm3/libopencm3/issues/754
Diffstat (limited to 'ld/devices.data')
-rw-r--r--ld/devices.data8
1 files changed, 4 insertions, 4 deletions
diff --git a/ld/devices.data b/ld/devices.data
index cfc50d48..ccda53aa 100644
--- a/ld/devices.data
+++ b/ld/devices.data
@@ -165,9 +165,9 @@ stm32l15[12]?d* stm32l1eep ROM=384K RAM=48K EEP=12K
stm32l162?c* stm32l1eep ROM=256K RAM=32K EEP=8K
stm32l162?d* stm32l1eep ROM=384K RAM=48K EEP=12K
-stm32l4?6?c* stm32l4 ROM=256K RAM=128K
-stm32l4?6?e* stm32l4 ROM=512K RAM=128K
-stm32l4?6?g* stm32l4 ROM=1024K RAM=128K
+stm32l4?6?c* stm32l4 ROM=256K RAM=96K RAM2=32K
+stm32l4?6?e* stm32l4 ROM=512K RAM=96K RAM2=32K
+stm32l4?6?g* stm32l4 ROM=1024K RAM=96K RAM2=32K
stm32ts60 stm32t ROM=32K RAM=10K
@@ -418,7 +418,7 @@ stm32f4 END ROM_OFF=0x08000000 RAM_OFF=0x20000000 CPU=cortex-m4 FPU=hard-fpv4-sp
stm32f7 END ROM_OFF=0x08000000 RAM_OFF=0x20010000 CPU=cortex-m7 FPU=hard-fpv5-sp-d16
stm32l0 END ROM_OFF=0x08000000 RAM_OFF=0x20000000 CPU=cortex-m0plus FPU=soft
stm32l1 END ROM_OFF=0x08000000 RAM_OFF=0x20000000 CPU=cortex-m3 FPU=soft
-stm32l4 END ROM_OFF=0x08000000 RAM_OFF=0x20000000 CPU=cortex-m4 FPU=hard-fpv4-sp-d16
+stm32l4 END ROM_OFF=0x08000000 RAM_OFF=0x20000000 RAM2_OFF=0x10000000 CPU=cortex-m4 FPU=hard-fpv4-sp-d16
stm32w END ROM_OFF=0x08000000 RAM_OFF=0x20000000 CPU=cortex-m3 FPU=soft
stm32t END ROM_OFF=0x08000000 RAM_OFF=0x20000000 CPU=cortex-m3 FPU=soft