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
This commit is contained in:
Karl Palsson 2017-03-08 22:19:18 +00:00
parent 623fabca5f
commit d260f5c539

View File

@ -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