cancel
Showing results for 
Search instead for 
Did you mean: 

Build Analyzer not working with version 1.15.0 and 1.15.1

Gianni7315
Associate

Hello,

I am trying to see where the memory is being allocated, although there is no information being given after building the project.

 

I have already followed this solution:

https://community.st.com/t5/stm32cubeide-mcus/build-analyzer-does-not-work-after-stm32cubeide-update/td-p/652218

,but still no luck.

 

As well, I have followed this example: 

To fix this permanently, you need to have your .map file name similar to your .elf file name.
In your example,
elf file name = STM32L476RG_NUCLEO.elf
map file name = ST_test.map

You can force your .map file name to STM32L476RG_NUCLEO.map by following these steps:

  1. Go to Properties>>C/C++ Build >> Settings >> Tool Settings >> MCU GCC Linker >> Miscellaneous
  2. Add the following flag: -Wl,-Map=STM32L476RG_NUCLEO.map

from https://forum.digikey.com/t/utilizing-the-build-analyzer-in-stm32cubeide/3882

 

I'm unsure if this is a specific issue with the newer versions of the IDE, but I will continue to try older versions of the IDE until I find one that works. 

 

 

 

 

3 REPLIES 3
Andrew Neil
Evangelist III

@Gianni7315 wrote:

I am trying to see where the memory is being allocated,


The nm tool (included in the GCC binutils) is the one for that ...

AScha.3
Chief III

Hi,

check : generate map file.

AScha3_0-1719838149680.png

+

show size + list file 

AScha3_1-1719838249702.png

here from IDE 1.13.1 ; or 1.14.1 - same.

If you feel a post has answered your question, please click "Accept as Solution".
Rim LANDOLSI
ST Employee

Hello @Gianni7315 ,

 

Could you try selecting the 'On request' option in the Build Views Settings. Then refresh the Build Analyser view using the 'Refresh' button, wait a while and the information will be displayed.

RimLANDOLSI_0-1720015701609.png

 

Thanks,

Rim