Skip to content

Commit

Permalink
Fix: remove arduino template and modify makefile for CAN accorfing mi…
Browse files Browse the repository at this point in the history
…sra.json config gor cppcheck
  • Loading branch information
LinjingZhang committed Oct 22, 2024
1 parent 7d92071 commit 5194027
Show file tree
Hide file tree
Showing 7 changed files with 5 additions and 15 deletions.
Empty file.
Empty file.
Empty file.
Empty file.
10 changes: 0 additions & 10 deletions config/arduinoLibraryTemplate/library.properties

This file was deleted.

Empty file.
10 changes: 5 additions & 5 deletions libraries/CAN/Makefile.codechecks.mk
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,9 @@ cppcheck:
export RULE_TEXTS=$(CONFIG_DIR)/cppcheck/misra.txt
$(CPPCHECK_PATH)/build/bin/cppcheck -i build -i examples -i test \
-I$(C_CPP_SOURCES) \
--checkers-report=cppcheck.checkers --check-level=exhaustive --xml --enable=all --inconclusive \
--addon=$(CONFIG_DIR)/cppcheck/misra_local.py --addon=misc \
--max-configs=100 ./ 2> ./err.xml
$(CPPCHECK_PATH)/htmlreport/cppcheck-htmlreport --file=err.xml --title=TLx493D --report-dir=cppcheck_reports --source-dir=.
firefox cppcheck_reports/index.html
--check-level=exhaustive --enable=all --inconclusive \
--addon=config/cppcheck/misra.json --addon=misc --std=c++20 \
--checkers-report=cppcheck.checkers --xml --max-configs=50 2> ./err.xml
$(CPPCHECK_PATH)/htmlreport/cppcheck-htmlreport --file=err.xml --title=TestCPPCheck --report-dir=cppcheck-reports --source-dir=.
firefox cppcheck-reports/index.html

0 comments on commit 5194027

Please sign in to comment.