cancel
Showing results for 
Search instead for 
Did you mean: 

Would like to be able to use Build Analyzer.

Hollies
Associate II

I hope to use the same Build Analyzer in VSCode as in the IDE, which allows developers to more clearly see the use of flash and memory. I have tried to use GPT to write a plugin, but the effect is not good, and I don't understand the JS language well, so it is difficult to develop it by myself.

My mother tongue is not English, please forgive me if it is not easy to understand.

Hollies_0-1721909647932.png

 

17 REPLIES 17

Looks very nice!

Is this an add-in to VS Code?

Just a small suggestion: memory sub areas could perhaps be indended under the parent area?

 

 

Yes, here is a link to the VSCode Marketplace

Feel free to write whatever you think about it. I have no idea how to make plugins, it all happened by accident. I was just very disappointed when I started taking my first steps in VSCode for STM32 and didn't find such a useful tool. The layout is far from perfect, but at least it responds to clicks, expands and collapses)) It's a big success for me. Indents are important, 100% agree

2.JPG

 

quick patch, v.1.0.2 

Great, the devil is in the details! 

You've developed a really useful plugin. I admire your executive ability. Unlike me, I left my work halfway.

  1. how to run this , i have lloaded .map file ,
  2. what is the next step?

Hi,

 

There are some different ways to open it:

From Explorer view:

mattiasnorlander_0-1746785889877.png

 

From CMake Tools view:

mattiasnorlander_1-1746785965467.png

 

If you do not yet have a successfully compiled project resulting in an elf/map-file combo, the build analyzer cannot show any info.

 

Kind regards, Mattias

mattias norlander
ST Employee

Maybe some more context...

2025-05-07, we deployed version 3.x our ST VS Code extension. There is a sticky post about this in this forum.

As part of this pre-release deployment, we provide a new build analyzer. It looks like this:

 

mattiasnorlander_0-1746786809392.png

This pre-release is available here:

At the marketplace you can read the readme.md and the changelog.md to understand a bit more. More info coming step-by-step in a continuous delivery spirit.