Skip to main content
MCUpwr
Associate II
Dec 2, 2021 6:11 PM UTC
Question

"No rule to make target" error after STM32CubeIDE update

After update today STM32CubeIDE from v1.7.0 on 1.8.0 and after Debug the project

I was get this error information:

make: *** No rule to make target '../Core/Startup/startup_stm32l476rgtx.s', needed by 'Core/Startup/startup_stm32l476rgtx.o'. Stop.

I work on NUCLEO-L476RG board. Any tip how to resolve this problem?

This topic has been closed for replies.

3 replies

TDK
Dec 2, 2021 10:42 PM UTC

Clean and rebuild the project.

If that doesn't work, make sure the path is included in your source folders and that it isn't excluded from the build.

Project properties -> C/C++ General -> Paths and Symbols -> Source Location

"If you feel a post has answered your question, please click ""Accept as Solution""."
RMerc.2
Associate
Oct 19, 2023 3:55 AM UTC

You the best mate

 

MCUpwr
MCUpwrAuthor
Associate II
Jan 3, 2022 1:51 PM UTC

Tnx TDK for tip,

for me this work only when I first run" Migrate" (in pop up window) from STM32CubeMX

ver.6.3.0 on ver.6.4.0. If I stay with ver. 6.3.0.CubeIDE wont to build project and report error message

from post above.