Running complete verification of MISRA rules from an application node

To get a complete verification of MISRA rules, you must run the code review from an application node.

About this task

When running a code review from the code review link checker in test mode from OneTest Embedded Studio, the option '-TEST' is set by default on all test nodes and, as a consequence some rules are filtered out. To see the list of the rules that are filtered out, see C Code Review Linker - crcld.

To enable these rules, you must run a full check of MISRA rules from an application node in OneTest Embedded Studio.

Create a project if not already done.

Procedure

  1. Create a project.
  2. create an 'application' node.
  3. Add all your sources under this node.
  4. Select the application node, right-click and select Settings > Build > Build options.
  5. In the right panel, deselect all options except the Code Review option. Edit compiler / user include directories to point to your header files.
  6. Click Apply and then OK.
  7. To run the build, select the application node, right-click and select Build.
  8. To see the report, select the application node, right-click and select Open Report > Code Review.
Feedback