Skip to main content
TMich.1
Associate III
March 15, 2023
Question

Can't find a source file at .../Core/Startup/startup_stm32g473cctx.s

How do I fix this? when i look into my folders the file is not there

This topic has been closed for replies.

6 replies

Rim LANDOLSI
ST Employee
March 15, 2023

Hello @TMich.1​ ,

Thank you for posting this issue.

Is this from a created STM32 project inside CubeIDE itself?

What's the path to the workspace? Do you use any non-ascii characters or spaces anywhere?

Thanks,

Rim

TMich.1
TMich.1Author
Associate III
March 15, 2023

yes it is created in ide itself. C:\Users\PC-SEVON\Documents\SCHOOL\OneDrive - KU Leuven\stm32\stm32g473. I'm not aware of any non-ascii characters, but the onedrive has two spaces in it's name. but I can see the location in the menu on the left, but not in my folders, and neither can the program

0693W00000aJ2phQAC.png

Tesla DeLorean
Guru
March 15, 2023

Could also be a "virtual" directory

Do you get the same error if you copy/clone this into a REAL directory on the hard drive ?

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
Rim LANDOLSI
ST Employee
March 16, 2023

Eclipse is not able to build a project correctly if it is installed in a directory where there are spaces in the path.

Try to create a valid workspace path.