STM32L4 linker script for 128 KB RAM
Hi ST support,
I’m using STM32L476RG-Nucleo with the last eclipse framework v1.3.0.
I was surprised by the fact that the generated linker script only offers 96 KB RAM.
It appears that this mcu RAM is split in SRAM1 and SRAM2 which are NOT contiguous.
I don’t care where my RAM data is allocated but I need 128 K.
Forcing 128K in the generated linker script make the execution fail as the RAM region are NOT contiguous.
Is it a possibility to define the two sections and link RAM data in these regions without explicitely setting the mapping.
To do that, the linker must look for the best data arrangement to respect the RAM region mapping and I figure this is NOT implemented so it’s mandatory to set the mapping.
Any corrections to my assumptions / suggestions ?
Thanks and regards,
Sylvain