I am on 2022.01 release of RIOT and building apps for nrf52840dongle.
I worked on implementing a module. I need to know the RAM and FLASH usage required by the module. To understand the flash usage I used the binary size profiler Bloaty. But many information are missing from the bloaty output.For eg.
FILE SIZE VM SIZE -------------- -------------- 45.9% 1.76Mi 62.6% 78.7Ki [174 Others] 15.8% 621Ki 0.0% 0 [section .debug_macro] 14.9% 585Ki 0.0% 0 [section .debug_str]
Bloaty classifies many compile units into Others and does not tell where precisely the binary size is coming from. It shows the binary contribution of some files, and for some, it does not.
Could you guys give me any suggestions on how to measure flash usage? For eg. is there any better tools similar to bloaty? Also, How to measure the RAM usage?