This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CCS V4 (Microcontroller/Core) Language Options

Under Project Properties, C/C++ Build, Tool Settings, C2000 Complier, Language Options, there is an option "Enable checking of MISRA-C:2004 rules".

This puts up a dialog, "Enter Value". What should be entered here ? A reference to each MISRA rule that we wish to check ?



  • A clarification of the problem. I've tried:


    This should produce a warning for:

      x = 1;

    because Rule 14.9 requires braces around a statement following an 'if'.

    But no warnings are produced.



  • Chris,

    Probably not the answer you were hoping for but here it is: Misra support is not actually fully implemented yet and was mistakenly exposed in the build options dialog.  We will be hiding it shortly in an upcoming patch.