Skip to main content
Associate II
Mar 20, 2025 5:43 PM UTC
Solved

Build Analyzer with CMake toolchain

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!

This topic has been closed for replies.
TDK
TDKBest answer
Mar 20, 2025 9:11 PM UTC

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""."

2 replies

TDK
TDKBest answer
Mar 20, 2025 9:11 PM UTC

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
Mar 21, 2025 7:19 AM UTC

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