Generate external loader(.stldr) problem: "cannot find the specified linker script"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2023-09-14 1:07 AM - edited 2023-09-14 1:14 AM
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”
- Labels:
-
STM32CubeIDE
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2023-09-14 1:10 AM - edited 2023-09-14 1:15 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2023-09-15 9:28 AM
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?
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2023-10-10 4:42 AM
Hello @FLuba.1
Check this thread
Solved: STM32CubeMX Linker script generation problem - STMicroelectronics Community
It may help!
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.
