This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

The memory and external memory capacity

Hi There,

I try to know the consumption of memory and external memory dynamically. How can I do it?

Regards,

Gaosheng Liu

Parents
  • Hi!

    Are you working on the nRF5 SDK or the nRF Connect SDK?

    For the nRF5 SDK, Susheel's comment in this ticket might be helpful:

    You can check the .map file after you compile to see the use of memory. 

    In the nRF Connect SDK, you can see the total memory usage in the log output from the build, for example:

    Memory region         Used Size  Region Size  %age Used
               FLASH:      105252 B       960 KB     10.71%
                SRAM:       31992 B     178968 B     17.88%
            IDT_LIST:          0 GB         2 KB      0.00%

    Best regards,

    Heidi

Reply
  • Hi!

    Are you working on the nRF5 SDK or the nRF Connect SDK?

    For the nRF5 SDK, Susheel's comment in this ticket might be helpful:

    You can check the .map file after you compile to see the use of memory. 

    In the nRF Connect SDK, you can see the total memory usage in the log output from the build, for example:

    Memory region         Used Size  Region Size  %age Used
               FLASH:      105252 B       960 KB     10.71%
                SRAM:       31992 B     178968 B     17.88%
            IDT_LIST:          0 GB         2 KB      0.00%

    Best regards,

    Heidi

Children
Related