2026-03-31 6:18 AM
Hello,
I just downloaded STMCubeIDE 2.1.1 to generate a simple project for a Nucleo-C562RE board.
I am not using CubeMX2 (for various reason, that is not the point).
The default empty project generated for STM32C562RE by the IDE has only 1 SRAM element with a size of 64K, instead of 2 SRAM elements of 64K each.
FLASH size is correct though.
Out of curiosity, if ST were to push a fix for this kind of bug, would it be a new IDE release ? or could it be a STM32C5 pack update only ?
2026-03-31 6:22 AM
Would be interesting to know if CubeMX2 does create correct linker files ... ?
2026-03-31 6:31 AM - edited 2026-03-31 7:43 AM
Hello @Kraal
Thanks for bringing this issue to our attention!
I will raise this behavior to the dedicated team. (Ticket #0061201 This is an internal tracking number and is not accessible or usable by customers)
BR, Souhaib
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2026-03-31 7:07 AM
I have tested with VSCode and the STM extension, and there the linker script has the correct value of 128K (albeit it is one block of 128K and not 2 blocks of 64K).
The writing differs as well, in CubeIDE size is given as "64K", while in VSCode it is "0x20000" which is less user friendly.
So I believe that MX2 would give the correct linker script (but I did not verify as I don't want to install MX2 just for that yet).