Hardware/ARMEBS/4/Sections

From UIT
(Difference between revisions)
Jump to: navigation, search
 
Line 7: Line 7:
 
   8292   1132   2488   11912   2e88 leds
 
   8292   1132   2488   11912   2e88 leds
 
</pre>
 
</pre>
Please have a look at [[Languages/C/Sections|standard C sections]].
 
  
 
text, data, bss, and dec are decimal
 
text, data, bss, and dec are decimal
Line 16: Line 15:
 
* '''data''' includes the <code>.data section</code>
 
* '''data''' includes the <code>.data section</code>
 
* '''bss''' includes <code>.bss</code>, <code>._stack</code>, <code>._heap</code> sections
 
* '''bss''' includes <code>.bss</code>, <code>._stack</code>, <code>._heap</code> sections
 +
 +
Please have a look at [[Languages/C/Sections|standard C sections]].

Latest revision as of 14:55, 11 July 2014

At the end of build the eclipse will show memory usage as this

arm-none-eabi-size X
   text	   data	    bss	    dec	    hex	filename
   8292	   1132	   2488	  11912	   2e88	leds

text, data, bss, and dec are decimal

hex, is hexadecimal

  • text includes the sections .text and .isr_vector (.text includes .rodata)
  • data includes the .data section
  • bss includes .bss, ._stack, ._heap sections

Please have a look at standard C sections.

Personal tools
Namespaces
Variants
Actions
Navigation
Browse
Toolbox