Hello,
I would like to store the firmware size in ROM. Can keil calculate the firmware size and store it in a variable post compilation. This would allow me to just grab the variable without have to create a function to calculate the firmware size.
Thanks,
Eric Micallef
Ah, I was not using a scatter file. Can you explain what a scatter file does for me? All this reading from keils forum it looks like all a scatter file does is breakdown the regions of where data is being dumped?
You shouldn't need one, look for a project.sct type file in the output directory where it puts the .AXF, .HEX and .MAP files.
The region naming is important for the symbol to work