CubeMX 6.10.0 has wrong SRAM size for STM32L452
I migrated a project from STM32CubeMX 6.3.0 to STM32CubeMX 6.10.0. It didn't boot anymore.
There was this interesting diff to the linker script:
** Abstract : Linker script for STM32L452VCIx series
-** 256Kbytes FLASH and 160Kbytes RAM
+** 256Kbytes FLASH and 192Kbytes RAM
MEMORY
{
-RAM (xrw) : ORIGIN = 0x20000000, LENGTH = 128K
+RAM (xrw) : ORIGIN = 0x20000000, LENGTH = 160K
RAM2 (xrw) : ORIGIN = 0x10000000, LENGTH = 32K
FLASH (rx) : ORIGIN = 0x8000000, LENGTH = 256K
}When did the STM32L452 get 192kB of SRAM? This is wrong. It's 160 kB. The RAM region should just be 128K. This puts the stack past the end of the real memory.
