Skip to main content
Gianni7315
Visitor II
July 1, 2024
Question

Build Analyzer not working with version 1.15.0 and 1.15.1

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. 

 

 

 

 

    This topic has been closed for replies.

    3 replies

    Andrew Neil
    Super User
    July 1, 2024

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

    A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.
    AScha.3
    Super User
    July 1, 2024

    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 on " Best Answer ".
    Rim LANDOLSI
    ST Employee
    July 3, 2024

    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