Hi There,
I try to know the consumption of memory and external memory dynamically. How can I do it?
Regards,
Gaosheng Liu
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
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