aboutsummaryrefslogtreecommitdiffstats
path: root/demos/various/RT-ARMCM4-GENERIC/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'demos/various/RT-ARMCM4-GENERIC/Makefile')
-rw-r--r--demos/various/RT-ARMCM4-GENERIC/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/demos/various/RT-ARMCM4-GENERIC/Makefile b/demos/various/RT-ARMCM4-GENERIC/Makefile
index cbfde6f61..0c834834c 100644
--- a/demos/various/RT-ARMCM4-GENERIC/Makefile
+++ b/demos/various/RT-ARMCM4-GENERIC/Makefile
@@ -208,3 +208,9 @@ ULIBS =
RULESPATH = $(CHIBIOS)/os/common/ports/ARMCMx/compilers/GCC
include $(RULESPATH)/rules.mk
+
+##############################################################################
+# MISRA check rule, requires PCLint and the setup files, not provided.
+#
+misra:
+ @lint-nt -v -w3 $(DEFS) pclint/co-gcc.lnt pclint/au-misra3.lnt pclint/waivers.lnt $(IINCDIR) $(CSRC) &> misra.txt