diff options
author | Giovanni Di Sirio <gdisirio@gmail.com> | 2015-03-09 10:48:08 +0000 |
---|---|---|
committer | Giovanni Di Sirio <gdisirio@gmail.com> | 2015-03-09 10:48:08 +0000 |
commit | b7985b957d0c259e9869763199c5cbf8ae9f4709 (patch) | |
tree | cb1cff3966c06b52cbba51cceb4b659dd9f25562 /test | |
parent | ce7f7103df5f634f7b57d90e115c5824adcb68a0 (diff) | |
download | ChibiOS-b7985b957d0c259e9869763199c5cbf8ae9f4709.tar.gz ChibiOS-b7985b957d0c259e9869763199c5cbf8ae9f4709.tar.bz2 ChibiOS-b7985b957d0c259e9869763199c5cbf8ae9f4709.zip |
MISRA pass on low level device drivers templates.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7739 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'test')
-rw-r--r-- | test/hal/testbuild/pclint/waivers.lnt | 12 | ||||
-rw-r--r-- | test/rt/testbuild/pclint/waivers.lnt | 13 |
2 files changed, 17 insertions, 8 deletions
diff --git a/test/hal/testbuild/pclint/waivers.lnt b/test/hal/testbuild/pclint/waivers.lnt index 67befb44a..ea5b15dd1 100644 --- a/test/hal/testbuild/pclint/waivers.lnt +++ b/test/hal/testbuild/pclint/waivers.lnt @@ -5,13 +5,17 @@ +libclass(angle,ansi)
+libh(core_cm4.h)
+libh(stm32f4xx.h)
-+libh(*LLD.h)
+
+/* Permitting anonymous unions.*/
++fan
/* Silencing common non-MISRA info generated by PCLint in -w3 mode. All of
- them have been controlled. Other infos have been fixed in the code.*/
--e526 -e537
+ them have been controlled. Other infos have been fixed in the code.
+ Remove temporarily the following -e in order to perform extra code quality
+ checks.*/
+-e526 -e537 -e552
-e613
--e714 -e716 -e717 -e749 -e757 -e758 -e759 -e768 -e773 -e778 -e793
+-e714 -e716 -e717 -e749 -e757 -e758 -e759 -e766 -e768 -e769 -e773 -e778 -e793
-e826 -e830 -e835 -e845
/* Removing *advisory* directives and rules that would negatively impact
diff --git a/test/rt/testbuild/pclint/waivers.lnt b/test/rt/testbuild/pclint/waivers.lnt index 67befb44a..13a964f92 100644 --- a/test/rt/testbuild/pclint/waivers.lnt +++ b/test/rt/testbuild/pclint/waivers.lnt @@ -5,13 +5,18 @@ +libclass(angle,ansi)
+libh(core_cm4.h)
+libh(stm32f4xx.h)
-+libh(*LLD.h)
++libh(*_lld.h)
+
+/* Permitting anonymous unions.*/
++fan
/* Silencing common non-MISRA info generated by PCLint in -w3 mode. All of
- them have been controlled. Other infos have been fixed in the code.*/
--e526 -e537
+ them have been controlled. Other infos have been fixed in the code.
+ Remove temporarily the following -e in order to perform extra code quality
+ checks.*/
+-e526 -e537 -e552
-e613
--e714 -e716 -e717 -e749 -e757 -e758 -e759 -e768 -e773 -e778 -e793
+-e714 -e716 -e717 -e749 -e757 -e758 -e759 -e766 -e768 -e769 -e773 -e778 -e793
-e826 -e830 -e835 -e845
/* Removing *advisory* directives and rules that would negatively impact
|