2021-10-22 02:08 AM
I created a project with CubeIde for the nucleo144 board. I managed the pins for my specific configuration, I inserted files already created externally to perform functions but at the time of compilation I get this error
Cannot find the specified linker script. Check the linker settings in the build configuration.
Cannot find the specified linker script. Check the linker settings in the build configuration.
but in the configuration I have not touched anything from the initial creation of the project and its first compilation.
Solved! Go to Solution.
2021-10-22 06:33 AM
The two *.ld files are linker files. By default, it should be using the one that ends in _FLASH.
Including the full error message would be helpful. The linker command will specify the filename it's using and trying to find.
2021-10-22 03:30 AM
Hello @Icont.1 ,
Make sure that you have the correct linker script path.
You should set properly Under "Linker Script" the right path in CubeIde (Properties->C/C++ Build ->Setting ->Tool Settings->MCU G++ Linker ->General).
You can share a screenshot if your issue is not resolved.
Imen
2021-10-22 03:42 AM
the screen of the setting is this but in the project folder I have no reference to anything about the linker. Which file or folder should I go to recover and insert to fix the problem?
2021-10-22 06:33 AM
The two *.ld files are linker files. By default, it should be using the one that ends in _FLASH.
Including the full error message would be helpful. The linker command will specify the filename it's using and trying to find.
2021-10-25 12:38 AM
full error message
2021-10-25 12:43 AM
thanks I solved by manually setting as linker the file *.ld (FLASH) from the settings.