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/UCD3138A: How to disable MISRA-C:2004 checking and do not show me the warning related to MISRA-C:2004

Part Number: UCD3138A


Tool/software: Code Composer Studio

Dear TI guys

I selected All at MISRA-C:2004, and I clicked build project. It showed 100 warnings. Then I selected None at MISRA-C:2004, and built project again. Why it still showed me those MISRA-C:2004 warnings? How can I disable MISRA-C:2004 checking and do not show me the warning related to MISRA-C:2004?

Looking forward to your reply.

Dana Huang

  • Dana,

    Your screenshot did not come through. Also, I am not able to reproduce this. If I enable All MISRA options, then later select None, the MISRA checking is not done the second time, as expected. 

    Which version of CCS and compiler tools are you using? Can you try attaching the screenshot again?

  • AartiG,

    Thanks for your reply.
    This problem didn't come out after I removed the project from workplase and reimported it. I don't know why this worked. Anyway, the problem was resolved. Thank you very much for your help.

    Best regards
    Dana huang