This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Lots of warnings and errors when running our nrf52832 based project on Eclipse and trying to do the cppcheck (static code analysis).

1. We are running our nrf52832 based project on Eclipse and are able to compile, build and run the project on our target hardware. So far, so good.

2. Now, in addition we would like to use the cppcheck - Eclipse plugin for static code analysis. Running the cppcheck results in lots of warnings and errors especially when cppcheck checks the nRF5_SDK_15.0.0. I did not manage to exclude the nRF5_SDK_15.0.0 - source files from the cppchecking (I tried a lot of cppcheck-settings, properties etc, but nothing helped)

3. Do you have expierence with the Eclipse cppcheck-plugin ? Do you know how to suppress the cppcheck errors, warnings etc. by any setting in the project or workspace properties ? 

4. Do you use other tools for static code analysis ?

kind regards

Martin

Parents
  • HI,

    As we do not use Eclipse internally I am afraid we do not have much experience with Eclipse plugins such as the cppcheck plugin. I will try to find out if we have any experience with cppcheck in general.

    As the questions you ask are very general (not specific to our SDK) it sounds like this should be easily sorted through the cppcheck support channels.

    If you find a solution, then posting it here is highly appreciated as others might meet similar issues in the future.

    Regards,
    Terje

Reply
  • HI,

    As we do not use Eclipse internally I am afraid we do not have much experience with Eclipse plugins such as the cppcheck plugin. I will try to find out if we have any experience with cppcheck in general.

    As the questions you ask are very general (not specific to our SDK) it sounds like this should be easily sorted through the cppcheck support channels.

    If you find a solution, then posting it here is highly appreciated as others might meet similar issues in the future.

    Regards,
    Terje

Children
No Data
Related