|
sarmfsw: SMFSW Toolbox (desinged for ARM / compatible with other 8b/16b/32b platforms) 4.0rc
SMFSW collection of miscellaneous functions \& macros (desinged for ARM / compatible with other 8b/16b/32b platforms)
|
Header scope deviation has been granted for following rules:
Rule-20.5 - Advisory: #undef (misra-c2012-20.5)
Rule-20.10 - Advisory: # and ## preprocessor operators (misra-c2012-20.10)
Header scope legitimate use derogation authorized for:
Rule-21.1 - Required: #define and #undef on reserved identifiers (misra-c2012-21.1)
Justification: #define are generic reserved identifiers for attributes.
typedef name (misra-c2012-5.6)typedefs name are only defined once (other arm_chip_xxx files are not included at the same time). Header scope legitimate use derogation authorized for:
Rule-5.6 - Required: unique typedef name (misra-c2012-5.6)
Rule-5.9 - Advisory: internal linkage unique function name (misra-c2012-5.9)
Justification: typedefs name are only defined once (other arm_chip_xxx files are not included at the same time).
Header scope deviation has been granted for following rules:
Rule-20.5 - Advisory: #undef (misra-c2012-20.5)
typedef name (misra-c2012-5.6)typedefs name are only defined once (other arm_chip_xxx files are not included at the same time).typedef name (misra-c2012-5.6)typedefs name are only defined once (other arm_chip_xxx files are not included at the same time). Header scope deviation has been granted for following rules:
Rule-18.4 - Advisory: +/- operators on pointer type (misra-c2012-18.4)
Header scope legitimate use derogation authorized for:
Rule-21.6 - Required: Use of <stdio.h> (misra-c2012-21.6)
Justification: Some of the following functions are sprintf like oriented extensions to standard library.
Rule-17.1 - Required: Use of <starg.h> (misra-c2012-17.1)
Justification: Legitimate use of variadic parameters received, passed to printf like function call.
Rule-20.7 - Required: Enclosed macro parameters expansion (misra-c2012-20.7)
Justification: Use of STR catenate macro in macros expansion.
Header scope deviation has been granted for following rules:
Rule-20.5 - Advisory: #undef (misra-c2012-20.5)
Header scope derogation to following rules:
Rule-21.1 - Required: #define and #undef on reserved identifiers (misra-c2012-21.1)
Justification: define generic CMSIS IO macros and keywords aliases in case not already defined.
#undef (misra-c2012-20.5) Header scope deviation has been granted for following rules:
Rule-20.5 - Advisory: #undef (misra-c2012-20.5)
Rule-20.10 - Advisory: # and ## preprocessor operators (misra-c2012-20.10)
Header scope legitimate use derogation authorized for:
Header scope deviation has been granted for following rules:
Rule-2.3 - Advisory: unused type (misra-c2012-2.3)
Rule-19.2 - Advisory: union keyword (misra-c2012-19.2)
Rule-20.5 - Advisory: #undef (misra-c2012-20.5)
Header scope derogation authorized for:
Rule-5.5 - Required: Identifiers shall be distinct from macro name (misra-c2012-5.5)
Justification: Replacing B0 & B1 macro only for arduino platform.
#undef (misra-c2012-20.5)func parameter shall be a function name; raising error otherwise is intended.signed or unsigned use will produce the same result.signed or unsigned use will produce the same result.name wouldn't produce the desired structured access expansion.# and ## preprocessor operators (misra-c2012-20.10)typ parameter would be cast instead of type.mbr parameter shall be a structure member; will in any way raise an error in case not.# and ## preprocessor operators (misra-c2012-20.10)pArray is used as array, makes sense to declare it in the same manner.array needs to have a size and is always used in conjunction with nb.typ_t parameter would always be used as cast and wouldn't catenate name.mbr parameter shall be a structure member; will in any way raise an error in case not.array being an array of array, this is a rather legitimate representation of object than a pointer.typ parameter would be cast instead of type declaration (thus raising error); other parameters shall be variable names, raising error otherwise is intended.arr shall be an instance of type; raising error otherwise is intended.obj parameter can be a type instead of an istance of type.typ parameter would be cast instead of type.typ parameter would be cast instead of type.mbr parameter shall be a structure member; will in any way raise an error in case not.union keyword (misra-c2012-19.2)typ parameter would be cast instead of type.mbr parameter shall be a structure member; will in any way raise an error in case not.typ parameter would be cast instead of type.