Fullscreen
Loading...
 

System Workbench for STM32 Help

Forums » System Workbench for STM32» How to find the memory usage» How to find the memory usage
You are viewing a reply to How to find the memory usage Print this page only Print all pages

How to find the memory usage

As above but with
 --format=berkeley 
instead of
 --format=sysv
will give you output that may be more what you had in mind. For example:


arm-none-eabi-size --format=berkeley   src/*.o libraries/common/*.o 

   text	   data	    bss	    dec	    hex	filename
   1503	      0	      0	   1503	    5df	src/main.o
    339	      0	      0	    339	    153	libraries/common/assert.o
     84	      0	      0	     84	     54	libraries/common/compensator.o
    516	      4	     64	    584	    248	libraries/common/edgetracker.o
    328	      0	      0	    328	    148	libraries/common/ffcompensator.o
    696	      0	      0	    696	    2b8	libraries/common/leadcompensator.o
    682	  49161	    168	  50011	   c35b	libraries/common/logger.o

Show posts: