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.

Compiler/TMS320F28335: MISRA - C: 2012 - AMD - 1 support

Part Number: TMS320F28335

Tool/software: TI C/C++ Compiler

Hi,

Do we have any compiler to support MISRA - C: 2012 - AMD - 1?

Thanks a lot.

Br, Jordan

  • Hi Jordan,

    Unfortunately, the C28x compiler does not flag violations to MISRA-C:2012 standard. Code Composer Studio has a plugin that can be used to check for MISRA-C:2008 compliance, but it doesn't check for the 2012 specific guidelines.

    So far, C2000 has primarily used LDRA Testbed Tool (https://ldra.com/) for MISRA-C checks. Klocwork (www.roguewave.com/.../klocwork) is another tool commonly used within TI.

    Please also see this application note on MISRA-C compliance, process, and policy as adopted by C2000: www.ti.com/.../spracb3.pdf

    Regards,
    Elizabeth