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/TMS320F28335: MISRA-C Compliance/ccs7

Part Number: TMS320F28335

Tool/software: Code Composer Studio

Hello,

I am compiling my code with MISRA-C 2004 and I am getting  lot of warnings for usage of TI provided libraries. In those libraries, many things have to be modified in order to make it compliant

with MISRA-C. Is there any way to remove those warnings?

Any help is greatly appreciated.

Thank you, 

Akhil

  • If the source code is provided, you might have to fix them yourself.
  • What version of the TI C2000 compiler are you using? (note: it is not the same as the Code Composer Studio version).
  • Akhil Pillai said:
    I am compiling my code with MISRA-C 2004 and I am getting  lot of warnings for usage of TI provided libraries.

    Do not assume that the source code for a library, including the headers, builds MISRA clean.  Does the documentation for these libraries make that claim?  Perhaps not.  And, if so, you are your own for the current release of those libraries.  With regard to future releases, it would good to know of your request that the source be MISRA clean.  Exactly which libraries do you use?  

    Thanks and regards,

    -George

  • I would appreciate knowing which libraries cause the problems with the MISRA diagnostics.

    Thanks and regards,

    -George
  • Since it has been a while, I presume you have resolved your problem.  I'd appreciate knowing how you resolved it.

    Thanks and regards,

    -George