docs(tools/cppcheck): add application note on cppcheck
Add application note on cppcheck.
Change-Id: If5dbdfc5bad2d59f6fb617f2d98ba3e7a1fb1bef
Signed-off-by: Shruti Gupta <shruti.gupta@arm.com>
diff --git a/docs/getting_started/getting-started.rst b/docs/getting_started/getting-started.rst
index 87c003d..b8c8f87 100644
--- a/docs/getting_started/getting-started.rst
+++ b/docs/getting_started/getting-started.rst
@@ -32,6 +32,8 @@
Tool & Dependency overview
##########################
+.. _tool_dependencies:
+
The following tools are required to obtain and build |RMM|:
.. csv-table:: Tool dependencies
@@ -51,7 +53,7 @@
"docutils",">v2.38.0","Documentation"
"gcovr",">=v4.2","Tools(Coverage analysis)"
"CBMC",">=5.84.0","Tools(CBMC analysis)"
- "CPPcheck",">=1.90","Tools(CPPcheck)"
+ "CPPcheck",">=2.13.4","Tools(CPPcheck)"
.. _getting_started_toolchain:
@@ -216,15 +218,9 @@
The installation of Cppcheck is an optional step. This is required only
if using the Cppcheck static analysis.
-Follow the public documentation to install Cppcheck either from the official
-website https://cppcheck.sourceforge.io/ or from the official github
-https://github.com/danmar/cppcheck/
-
-If you own a valid copy of a MISRA rules file:
-
-.. code-block:: bash
-
- cp -a <path to the misra rules file>/<file name> ${RMM_SOURCE_DIR}/tools/cppcheck/misra.rules
+The recommended version of Cppcheck is indicated :ref:`above<tool_dependencies>`.
+See :ref:`Cppcheck Application Note` for installation steps and details
+on how to use it within RMM build system.
############
Install CBMC