In DAVE 3 and DAVE 4, when you compile your code, in the console window, you can find out the program and variable size.
Heres 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
Heres 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