Skip to main content
MCUpwr
Associate II
December 2, 2021
Question

"No rule to make target" error after STM32CubeIDE update

  • December 2, 2021
  • 2 replies
  • 14062 views

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.

2 replies

TDK
December 2, 2021

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
October 19, 2023

You the best mate

 

MCUpwr
MCUpwrAuthor
Associate II
January 3, 2022

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.