I am working with an STM32F103C8 which has a flash size of 64kBytes.
Now i am using ChibiOS 2.6 and the build file is a binary file of 82kBytes.
Using ST-Link Utility, the program is getting dumped into the microcontroller's flash.
My question is how come a 82kB code fits in the 64kB Flash?
How is the size of that .bin calculated? I am attaching a picture of the display.
I did a compare ch.bin with device memory and it doesn't report any errors found.
All parts of the code work just fine, i don't see any problems anywhere tried all the features of the code, nothing breaks or behaves abnormally.
Could someone please explain this?