1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/dist
Neil Jones 65911f3499 cppcheck: Don't Run cppcheck on ASM files.
cppcheck doesn't understand ASM style comments beginning with '#' and tries to
parse them:

I get this error:
 cpu/mips_pic32_common/reset_mod.S:84: error (syntaxError): syntax error
from this line:
 beqz s1, init_resources # Branch if this is NOT an NMI exception.

If I place the comment inside C-style comments cppcheck passes, ie

 beqz s1, init_resources # /*Branch if this is NOT an NMI exception.*/

Note current in-tree ASM files fail cppcheck (they must have been added before
this check) for example:

cpu/lpc2387/asmfunc.s
2017-03-29 15:14:43 +01:00
..
testbed-support make: adapt Makefiles to AD -> Q rename 2016-12-22 12:12:38 +01:00
tools cppcheck: Don't Run cppcheck on ASM files. 2017-03-29 15:14:43 +01:00
ar-wrapper make: OSX: don't fail for empty .a archives 2014-06-24 20:29:32 +02:00
empty.a make: OSX: don't fail for empty .a archives 2014-06-24 20:29:32 +02:00
gdbinit-docker Makefile.include: Add docker target. 2015-04-24 16:03:52 +02:00
Makefile dist: examples: fix minor typos 2016-12-27 13:50:42 +01:00