aboutsummaryrefslogtreecommitdiffstats
path: root/demos/various/RT-ARMCM4-GENERIC/Makefile
diff options
context:
space:
mode:
authorGiovanni Di Sirio <gdisirio@gmail.com>2015-03-28 11:56:07 +0000
committerGiovanni Di Sirio <gdisirio@gmail.com>2015-03-28 11:56:07 +0000
commitf215593479abba0b08e1b94794fb367d2549bab2 (patch)
tree495852cb6e2b4f45e3dd65c4385ed2226b45a79e /demos/various/RT-ARMCM4-GENERIC/Makefile
parent4cd975affe635e7e635a76eafd2b0f9b4b747e07 (diff)
downloadChibiOS-f215593479abba0b08e1b94794fb367d2549bab2.tar.gz
ChibiOS-f215593479abba0b08e1b94794fb367d2549bab2.tar.bz2
ChibiOS-f215593479abba0b08e1b94794fb367d2549bab2.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7824 35acf78f-673a-0410-8e92-d51de3d6d3f4
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