Hey guys,
I've noticed that every time to compile the size information about each object file and the elf binary are shown, for example:
Object file sizes:
text data bss dec hex filename
356 4 0 360 168 build/main.o
212 24 0 236 ec build/usr/local/libmaple/libmaple/adc.o
193 8 0 201 c9 build/usr/local/libmaple/libmaple/bkp.o
0 0 0 0 0 build/usr/local/libmaple/libmaple/dac.o
736 68 0 804 324 build/usr/local/libmaple/libmaple/dma.o
.....
22928 2700 224 25852 64fc (TOTALS)
Final Size:
text data bss dec hex filename
13320 1796 416 15532 3cac build/maple.elf
What exactly do the columns mean? I can see that dec = text+data+bss, but what do each of the columns represent? Is Text the amount of FLASH space (in bytes) that will be consumed by the program, while data is the RAM (in bytes)? What is bss in that case?
As I modify my application or refactor, I'd like to keep an eye on these figures and knowing what they mean is the beginning.
-robodude666