Difference between bin, hex and elf file and their sizes
Dear members,
After fiddling a bit with stm32cube ide, I found that after project compilation, I have 3 files generated i.e. elf, hex and bin, in my debug folder.
But the size of all three varies.
Elf is 925kb
Bin is 13kb
Hex is 36 kb
I know elf have lots of extra data + debug info
Bin is raw file without address
Hex is raw file with address
Now my question is, when i look into memory regions of build analyzer, and console output values of text, data and bss sizes, what does it represent?
It it the breakdown of bin or hex or elf file?
By default settings which file is sent to uc, through ide?
Elf, bin or hex?
Thanks and regards
Avinash
