Skip to main content
Senior
September 14, 2023
Question

Generate external loader(.stldr) problem: "cannot find the specified linker script"

  • September 14, 2023
  • 3 replies
  • 2570 views

Hi, i have done the necessary for generating an external loader(.stldr file) with stm32Cube IDE. When i compile to generate the .stldr file, i get the error "cannot find the specified linker script". In my picture, you can see that i have done everything like it should be done. Can someone help me with this?

I have also tried the following command but didn't work out:cmd.exe /C copy/Y “${BuildArtifactFileBaseName}.elf” “..\STM32L4P5_MX25L12833F.stldr”  

FLuba1_3-1694671213215.png

 

FLuba1_2-1694670998347.png

FLuba1_4-1694671280743.png

 

FLuba1_0-1694670757352.png

FLuba1_0-1694672008311.png

 

 

 

This topic has been closed for replies.

3 replies

FLuba.1Author
Senior
September 14, 2023

I'm trying to generate a stldr file by using the method described here : https://www.youtube.com/watch?v=XqCq0xtQmbI&list=PLnMKNibPkDnHIrq5BICcFhLsmJFI_ytvE&index=5

 

Tesla DeLorean
Guru
September 15, 2023

Perhaps the use of CP rather than COPY, the quoting, or the \ vs / pathing?

Indicating it's not finding, so either name or path wrong. Have you double checked the file exists, and where it is situated?

 

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
ST Technical Moderator
October 10, 2023
To give better visibility on the answered topics, please click on "Best answer" on the reply which solved your issue or answered your question.Best regards,FBL