Skip to main content
Associate II
March 20, 2025
Solved

Build Analyzer with CMake toolchain

  • March 20, 2025
  • 1 reply
  • 621 views

Can anyone confirm that the Build Analyzer in the CubeIDE works when using the CMake toolchain? For compatibility reasons I'm currently stuck at IDE version 1.16.1. I created a fresh CMake Project for a Nucleo board (U545). It creates the elf and map files just fine but the Build Analyzer stays empty. (Yes, I tried the refresh button...)
If someone could confirm that a newer IDE version does the job, I'll try to convince the project team. Or what I could do to make it work in 16.1. Thanks!

Best answer by TDK

If, after building, you right click the project and refresh, then refresh the build analyzer, does it work? It might be looking for the elf at a specific location (e.g. Debug/project.elf), but I'm not sure if that's configurable. Seems like its behavior was hard coded for typical projects.

1 reply

TDK
TDKBest answer
Super User
March 20, 2025

If, after building, you right click the project and refresh, then refresh the build analyzer, does it work? It might be looking for the elf at a specific location (e.g. Debug/project.elf), but I'm not sure if that's configurable. Seems like its behavior was hard coded for typical projects.

"If you feel a post has answered your question, please click ""Accept as Solution""."
strygaAuthor
Associate II
March 21, 2025

It seems that I missed the refresh on the project! Thanks a lot.