Other Parts Discussed in Thread: MSPM0G3507, MSPM0L1306
Tool/software:
Team,
Our customer tried to compile DiagLib for MSPM0G3519 with mspm0_sdk_2_04_00_06 and got this
../../Appl/Src/DiagLib/src/source/flash_test.c:433:23: error: use of undeclared identifier 'DL_CRC_32_POLYNOMIAL'
433 | DL_CRCP_init(CRC, DL_CRC_32_POLYNOMIAL, DL_CRCP_BIT_NOT_REVERSED,
| ^
../../Appl/Src/DiagLib/src/source/flash_test.c:464:5: warning: call to undeclared function 'DL_CRC_disablePower'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
464 | DL_CRC_disablePower(CRC);
| ^
1 warning and 1 error generated.
Compile options:
-march=thumbv6m
-mcpu=cortex-m0plus
-mfloat-abi=soft
-mlittle-endian
-mthumb
-gdwarf-3
-save-temps=obj
-D__MSPM03519__
-c
- MSPM0G3519 has CRCP but DL_CRC_32_POLYNOMIAL seems to only be defined in dl_crc.h and not in dl_crcp.h.
- Line 464 has incorrect reference to DL_CRC_disablePower(CRC) rather than CRCP.
Claim is that Diaglib supports MSPM0G3519 but it may not seem to be so in its entirety? Customer was not sure if they should post this on E2E as access is restricted at this time.
I have posted as a TIer.
Regards,
CY