cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F407VGTX_FLASH.ld: No such file or directory error

HSarı.1
Associate

Hi i wanted to try new extension but i get this error. The code is a basic blink its working on cubeide but when i try on vscode this happens.

Thank you already

[build] c:\st\stm32cubeide_1.10.1\stm32cubeide\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.10.3-2021.10.win32_1.0.0.202111181127\tools\arm-none-eabi\bin\ld.exe: cannot open linker script file C:/newcodes/ledblink/STM32F407VGTX_FLASH.ld: No such file or directory

[build] collect2.exe: error: ld returned 1 exit status

4 REPLIES 4
FBL
ST Employee

Hi @Hüseyin Avni Sarıkaya​ 

Did you check that the path is valid? Or, if the file is missing, you can try to copy it from the original project.

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.

Yeah path is valid and file is missing but i didnt try copiying it is linker files project spesific or its global for that mcu?

could you try a shorter path please without special characters

If the linker file is missing how is this building in STM32IDE? Did you import this project using the STM32 extension in VSCode?