Skip to main content
HSarı.1
Associate
March 15, 2023
Question

STM32F407VGTX_FLASH.ld: No such file or directory error

  • March 15, 2023
  • 4 replies
  • 3131 views

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

This topic has been closed for replies.

4 replies

ST Technical Moderator
March 15, 2023

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 "Best answer" on the reply which solved your issue or answered your question.Best regards,FBL
HSarı.1
HSarı.1Author
Associate
March 15, 2023

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?

Nawres GHARBI
ST Technical Moderator
March 16, 2023

could you try a shorter path please without special characters