2024-03-20 02:29 AM
Hi,
after updating to STMCubeIDE 1.15.0 the Linker Script (-T) settings are reset to default.
Best regards,
Jens
2024-03-20 03:06 AM - edited 2024-03-24 11:50 PM
I had this effect sometimes on earlier versions of CubeIDE/MX. But not on every code generation of CubeMX. Not happened to me with 1.15 yet, but there is definitely something strange going on from time to time... 😬
When this happenes, I just revert the .ld file with my version control software after generation of the code (as I do with some other broken generated files).
Edit: Should read the texts more carefully. My linker script settings are at default, so I would not see if MX resets them...
2024-03-20 03:15 AM
Hi,
i have several different *.ld-files in my project and i use them depending on the selected configuration.
I don't know if the original file is replaced, because I don't use it.
If you do changes in the selected line they are reset after the version update.
2024-03-22 02:01 PM
This is happening to me too.
As soon as I upgraded to 1.15.0, code generation overwrites the linker script setting.
This is the setting as OP said, not the script itself.
Hope this gets patched quickly as it really messes up my workflow.