From: Stephan Baerwolf Date: Fri, 14 Mar 2014 10:55:21 +0000 (+0100) Subject: introduce new feature for the updater: UPDATECRC32 X-Git-Tag: testing-head~1 X-Git-Url: http://git.linex4red.de/pub/USBaspLoader.git/commitdiff_plain/360bfa6d963be278944fdf71e58591af6d79e95b?hp=360bfa6d963be278944fdf71e58591af6d79e95b introduce new feature for the updater: UPDATECRC32 In the head of Makefile.inc you now can configure "UPDATECRC32" to enable the updater to check integrity of the new firmware image. The CRC32 of polynomial 0xEDB88320 is used. This CRC is the same, the non-volatile-memory controller of ATxmega series is using. Enabling this feature will only increase the update by a few bytes (~180bytes) , but will offer more safety against bogus images. By default the CRC is NOT used, but it can be enabled to a fix value or calculated automatically during compile. Signed-off-by: Stephan Baerwolf ---