diff options
Diffstat (limited to 'demos/STM32/RT-STM32F407-DISCOVERY/Makefile')
-rw-r--r-- | demos/STM32/RT-STM32F407-DISCOVERY/Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/demos/STM32/RT-STM32F407-DISCOVERY/Makefile b/demos/STM32/RT-STM32F407-DISCOVERY/Makefile index 175b7d24d..5157ceaf7 100644 --- a/demos/STM32/RT-STM32F407-DISCOVERY/Makefile +++ b/demos/STM32/RT-STM32F407-DISCOVERY/Makefile @@ -202,3 +202,9 @@ ULIBS = RULESPATH = $(CHIBIOS)/os/common/ports/ARMCMx/compilers/GCC
include $(RULESPATH)/rules.mk
+
+misra:
+ @echo Running PCLint
+ lint-nt -w1 pclint/co-gcc.lnt pclint/au-misra3.lnt pclint/waivers.lnt $(IINCDIR) $(KERNSRC) > misra.txt
+ @echo
+ @echo Done
|