How can I calculate CRC of image in post build?
Hello,
I want to calculate the CRC (32 bit) of image at post build and insert it in a known location in the image.
In order to do it I should perform the following steps:
a) Definition of placeholder in linker script file
b) Post build steps:
b.1) Calculation of image CRC (32 bit)
b.2) Insert it into the placeholder
The reason of 32 bit is to use the STM32 HW CRC calculation for checking the CRC.
The post build steps can be performed by IELFTOOL.
Can anyone help?
Yacob Hassidim.
