Skip to main content
Visitor II
January 4, 2024
Solved

Always getting en error when debugging the code in stm32 cube

  • January 4, 2024
  • 1 reply
  • 1107 views

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.
    Best answer by Peter BENSCH

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

    Regards
    /Peter

    1 reply

    Technical Moderator
    January 4, 2024

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

    Regards
    /Peter