Bug report RAM size for device STM32L451CCU
Hello,
I don’t know if this is the correct place but I would like to report a bug.
When creating a new project and when selecting device STM32L4CCU,
a linkerscript is generated with the wrong RAM size: 128K.
The correct value according to the datasheet is 160K.
From the datasheet:
3.5 Embedded SRAM
STM32L451xx devices feature 160 Kbyte of embedded SRAM. This SRAM is split into two blocks:
128 Kbyte mapped at address 0x2000 0000 (SRAM1)
32 Kbyte located at address 0x1000 0000 with hardware parity check (SRAM2).
This memory is also mapped at address 0x2002 0000, offering a contiguous address
space with the SRAM1 (32 Kbyte aliased by bit band)
p.s. I did some project with a similar device STM32L452RET which has the same RAM size
and for that device it generates the correct RAM size in the linker script.
The STM32L452RET has the same splitted (but contiguous) RAM address space like the STM32L451CCU.
Kind Regards.