Skip to main content
Associate II
Jan 4, 2024 12:10 PM UTC
Solved

Always getting en error when debugging the code in stm32 cube

Hi to everyone.I have created an new project and didnt change anything.i just debug the code but  i am always getting an error like this

 

 

 

C:/ST/STM32CubeIDE_1.14.0/STM32CubeIDE/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.11.3.rel1.win32_1.1.100.202309141235/tools/bin/../lib/gcc/arm-none-eabi/11.3.1/../../../../arm-none-eabi/bin/ld.exe: cannot open linker script file C:\Users\Onur Yağcı\Desktop\STM32 PROJECTS CUBE\STM32F401CB3\STM32F401CBUX_FLASH.ld: No such file or directory

collect2.exe: error: ld returned 1 exit status

make: *** [makefile:88: STM32F401CB3.elf] Error 1

"make -j16 all" terminated with exit code 2. Build might be incomplete.

 

13:06:18 Build Failed. 2 errors, 0 warnings. (took 801ms)

 

How we can solve? Thanks

This topic has been closed for replies.
Peter BENSCH
Peter BENSCHBest answer
ST Technical Moderator
Jan 4, 2024 2:08 PM UTC

This is probably due to the non-ANSI characters and/or spaces that you are using in the path.

Regards
/Peter

In order 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.

1 reply

Peter BENSCH
Peter BENSCHBest answer
ST Technical Moderator
Jan 4, 2024 2:08 PM UTC

This is probably due to the non-ANSI characters and/or spaces that you are using in the path.

Regards
/Peter

In order 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.