Tool/software: TI C/C++ Compiler
Our project requires code generation compliant with MISRA-C.
We are using latest versions of
- HalCoGen (V4.06.01)
- SafeTI libraries (2.3.1)
- CCS Version: 7.1.0.00016
- compiler TI v17.3.0.STS
In particular,
Safety library \ include \ sl_types.h,
generates almost 1000 MISRA-C compliance errors if rule 19 is enabled during compiling. There are many other TI source code files that generate warnings.
We would expect that all HalCoGen source code and safety libraries would be MISR-C compliant.
If we enable all of the MISRA-C rules then many 1000’s of warnings are generated. Too many for us to manage.
This is a serious problem for us as we need to prove MISRA-C compliance.
How can we solve this issue with non-compliance of the provided source codes?
Can the MISR-C checking be applied to specific source code files? ie our source code files to help speed up compilation and manage the number of warnings?
Regards
Rob