Index: firmware/source/sys_link.cmd =================================================================== diff -u -rf6fd9dfd1a30412e237ff45ebee44854f0e2d4b2 -r2823873d5790228595fb991e52e78e2fd0d5987c --- firmware/source/sys_link.cmd (.../sys_link.cmd) (revision f6fd9dfd1a30412e237ff45ebee44854f0e2d4b2) +++ firmware/source/sys_link.cmd (.../sys_link.cmd) (revision 2823873d5790228595fb991e52e78e2fd0d5987c) @@ -72,6 +72,10 @@ parity_mask = 0x0c /* Set which ECC bits are Even and Odd parity */ mirroring = F021 /* RM57Lx and TMS570LCx are build in F021 */ } +#if 0 +/* NOTE: the default section has been disabled to run crc check of the image + in the user defined section below. +*/ /* USER CODE END */ /*----------------------------------------------------------------------------*/ @@ -90,6 +94,21 @@ /* USER CODE BEGIN (4) */ +#endif +/* Override Sections with CRCs here */ +SECTIONS +{ + .intvecs : {} > VECTORS, crc_table( _crc_table, algorithm=CRC32_C ) + .text : {} > FLASH0, crc_table( _crc_table, algorithm=CRC32_C ) + .const : {} > FLASH0, crc_table( _crc_table, algorithm=CRC32_C ) + .cinit : {} > FLASH0, crc_table( _crc_table, algorithm=CRC32_C ) + .pinit : {} > FLASH0 + .bss : {} > RAM + .data : {} > RAM + .sysmem : {} > RAM + + //.TI.crctab : {} > CRCMEM // TODo uncomment + flashAPI: { NVDataMgmt.obj (.text)