These are the exceptions to the MISRA-C:2004 rules in this library set.
This file lists the MISRA-C:2004 compliance exceptions for the Freescale EWL C library. The exceptions listed cover all EWL C files and targets. However, we have only fully tested the PA and ARM targets for compliance at this point. MISRA violations were detected using the PC-Lint 9.00d tool and the lnt/au-misra2.lnt checker file. To verify these results you can use the makefiles that are used to build a target's library files:
make -C ewl/EWL_C -f -f EWL_C.ARM_CORTEXM.mak misra PLATFORM=ARM_CORTEXM \ LNTDIR="/cygdrive/d/Lint" \ LNTINCL="-iD:/Lint/lnt" \ misra
This should list no MISRA violations or other PC-Lint warnings/errors.
EWL uses EXCEPTION_RULE_*() macros to silence violations, e.g.:
#define MISRA_EXCEPTION_RULE_20_5() \
/*lint -e{586} MISRA 2004 Rule 20.5: errno shall not be used
*/
The exception macros are defined in the header file EWL_C/include/ewl_misra_types.h.