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: MISRA-C Rule 15.2 Misreported by arm compiler

Tool/software: Code Composer Studio

Hi 

Can we generate a MISRA C compliance as a separate report using CCSv7.0.

Thanks,

Mallapragada

  • Mallapragada,

    Unfortunately this feature is not supported in the CCS IDE. I am checking with the compiler team to see if they have an option that redirects this to a file.

    Regards,
    Rafael
  • jahnavi mallpragada said:
    Can we generate a MISRA C compliance as a separate report

    Unfortunately, there is no feature of the compiler which does precisely that.  You could consider using the option --write_diagnostics_file.  This option causes the compiler to emit all the compiler diagnostics to a file with the same base name as the source file, with the extension changed to .err.  Perhaps showing those files are free of MISRA diagnostics will be good enough.

    Thanks and regards,

    -George

  • Hi thanks for the answer,
    Actually I have used icon Copy Build Log for copying the console output to a log file which is same as using --write_diagnostics_file through command line, but my requirement is to copy the output of a problems view in to an output file.
    Thanks,
    Mallapragada