Hardware/ARMEBS/4/Sections
(Difference between revisions)
Line 15: | Line 15: | ||
* '''text''' includes the sections <code>.text</code> and <code>.isr_vector</code> (<code>.text</code> includes <code>.rodata</code>) | * '''text''' includes the sections <code>.text</code> and <code>.isr_vector</code> (<code>.text</code> includes <code>.rodata</code>) | ||
* '''data''' includes the <code>.data section</code> | * '''data''' includes the <code>.data section</code> | ||
− | * '''bss''' includes <code>.bss</code>, <code>._stack</code>, <code>. | + | * '''bss''' includes <code>.bss</code>, <code>._stack</code>, <code>._heap</code> sections |
Revision as of 14:42, 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
Please have a look at standard C sections.
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