Quantcast
Channel: Infineon Forums
Viewing all articles
Browse latest Browse all 9892

DAVE TIP of the Day: Reading the program and data size

$
0
0
In DAVE 3 and DAVE 4, when you compile your code, in the console window, you can find out the program and variable size.

Here’s an example from the console window:
"C:\DAVEv4\DAVE-4.1.4\eclipse\ARM-GCC-49/bin/arm-none-eabi-size" --format=berkeley "XMC13_EXAMPLE.elf"
text data bss dec hex filename
9193 132 1116 10441 28c9 XMC13_EXAMPLE.elf


‘text’ is what ends up in FLASH memory
‘data’ is used for initialized data
‘bss’ contains all the uninitalized data
'dec' is the total program and data size in decimal value
'hex' is the total program and data size in hexadecimal value

Viewing all articles
Browse latest Browse all 9892

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>