cancel
Showing results for 
Search instead for 
Did you mean: 

Linker Script (-T) settings reset to default

JensH
Associate III

Hi,

after updating to STMCubeIDE 1.15.0 the Linker Script (-T) settings are reset to default.

Best regards,

Jens

3 REPLIES 3
t.decker
Senior II

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...

When this account seems to be inactive, try @tdecker2 - ST can't change mail addresses, so I had to create a new account.
JensH
Associate III

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.

JensH_1-1710929625818.png

If you do changes in the selected line they are reset after the version update.

 

jolyon
Associate

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.

Screenshot 2024-03-22 at 20.59.22.png

Hope this gets patched quickly as it really messes up my workflow.