Menu

Activate CppCheck for IAR Embedded Workbench

2022-08-05
2022-08-06
  • Özgür ÖZDEN

    Özgür ÖZDEN - 2022-08-05

    Hi Everyone,

    I want to activate CppCheck for IAR Embedded Workbench For ARM Version 8.22.2.1.15996. How can I implamente with IAR IDE.

     
  • Daniel Marjamäki

    In short .. there are different options.

    You can tell cppcheck where the source code is..

    cppcheck srcfolder
    

    You can generate a compile database using IAR workbench somehow..

    cppcheck --project=compile_commands.json
    

    hard to say what is best for you. Try both approaches.

     

Log in to post a comment.