2 Specific MISRA C:2012 Deviations
- Member DIAG_CPU_SelfTestSubset1 (void)
-
Required: misra-c2012-20.9
Justification: False positive - This function uses the RAMPZ_EXIST macro which is conditionally defined if FLASHSIZE_64KB is less than or equal to DIAG_FLASH_ARRAY_HIGH_ADDRESS. However, FLASHSIZE_64KB is only defined as part of this check for applicable devices and thus it will always be defined when used. - Member testResult_Subset1
-
Advisory: misra-c2012-8.9
Justification: The variable needs to be globally defined in order for the inline assembly to be able to access the variable. - Member testResult_Subset2
-
Advisory: misra-c2012-8.9
Justification: The variable needs to be globally defined in order for the inline assembly to be able to access the variable. - Member testResult_Subset3
-
Advisory: misra-c2012-8.9
Justification: The variable needs to be globally defined in order for the inline assembly to be able to access the variable.