diff options
author | Giovanni Di Sirio <gdisirio@gmail.com> | 2015-03-07 09:25:13 +0000 |
---|---|---|
committer | Giovanni Di Sirio <gdisirio@gmail.com> | 2015-03-07 09:25:13 +0000 |
commit | 57585301af1df353c3dd3a6e389d074bd4de4fcc (patch) | |
tree | 65fef57d39c7c14b73652de26b3653b528ee6450 /test | |
parent | 4de725748239e122b27ff2b31aac32b835e8a2d6 (diff) | |
download | ChibiOS-57585301af1df353c3dd3a6e389d074bd4de4fcc.tar.gz ChibiOS-57585301af1df353c3dd3a6e389d074bd4de4fcc.tar.bz2 ChibiOS-57585301af1df353c3dd3a6e389d074bd4de4fcc.zip |
More MISRA.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7726 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'test')
-rw-r--r-- | test/rt/testbuild/Makefile | 2 | ||||
-rw-r--r-- | test/rt/testbuild/pclint/waivers.lnt | 12 |
2 files changed, 12 insertions, 2 deletions
diff --git a/test/rt/testbuild/Makefile b/test/rt/testbuild/Makefile index 10b7856b4..390eda422 100644 --- a/test/rt/testbuild/Makefile +++ b/test/rt/testbuild/Makefile @@ -128,7 +128,7 @@ clean: -rm -fR .dep
misra:
- lint-nt -w1 pclint/co-gcc.lnt pclint/au-misra3.lnt pclint/waivers.lnt $(INCDIR) $(KERNSRC) > misra.txt
+ lint-nt -w3 pclint/co-gcc.lnt pclint/au-misra3.lnt pclint/waivers.lnt $(INCDIR) $(KERNSRC) > misra.txt
#
# Include the dependency files, should be the last of the makefile
diff --git a/test/rt/testbuild/pclint/waivers.lnt b/test/rt/testbuild/pclint/waivers.lnt index 8f441be43..e6caa1612 100644 --- a/test/rt/testbuild/pclint/waivers.lnt +++ b/test/rt/testbuild/pclint/waivers.lnt @@ -9,7 +9,9 @@ /* 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 -e714 -e716 -e757 -e759 -e768 -e773 -e826 -e835 -e845
+-e526 -e537
+-e714 -e716 -e717 -e757 -e758 -e759 -e768 -e773
+-e826 -e830 -e835 -e845
/* Removing *advisory* directives and rules that would negatively impact
code readability or not avoidable.*/
@@ -30,10 +32,18 @@ -e9018 /* Rule-19.2 */
-e9024 /* Rule-20.10 */
+/* Waiver Directive 2.1, Rule 1.1, Rule 1.2, assembler is allowed in some
+ modules.*/
+-e950
+
/* Waiver Directive 4.10, PCLint is confused by the guard used in the CMSIS
header files, the guard is present, suppressing the noise.*/
-e451
+/* Waiver Rule 2.2, PCLint marks as pure functions that contain just arm
+ code, this does not mean that those functions do nothing.*/
+-e522
+
/* Waiver Rule 3.1, the sequence "//" is mandated by standard license
headers included on top of all source files. The sequence is part of the
license URL and cannot be removed.*/
|