2023-09-14 01:07 AM - edited 2023-09-14 01: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”
2023-09-14 01:10 AM - edited 2023-09-14 01: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
2023-09-15 09: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?
2023-10-10 04: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.