File tree Expand file tree Collapse file tree 2 files changed +12
-5
lines changed
Expand file tree Collapse file tree 2 files changed +12
-5
lines changed Original file line number Diff line number Diff line change 66#include "stm32f4/clock.h"
77
88#ifdef PANDA_JUNGLE
9- #include "board/ jungle/stm32f4/board.h"
9+ #include "jungle/stm32f4/board.h"
1010#else
11- #include "board/ stm32f4/board.h"
11+ #include "stm32f4/board.h"
1212#endif
1313
1414#include "stm32f4/llspi.h"
Original file line number Diff line number Diff line change 11#! /usr/bin/env bash
2- set -e
2+ set -ex
33
44DIR=" $( cd " $( dirname " ${BASH_SOURCE[0]} " ) " > /dev/null 2>&1 && pwd ) "
55PANDA_DIR=$( realpath $DIR /../../)
@@ -44,12 +44,19 @@ cppcheck() {
4444 echo -e " \n\n\n\n\nTEST variant options:" >> $CHECKLIST
4545 echo -e " " ${@// $PANDA_DIR / } " \n\n" >> $CHECKLIST # (absolute path removed)
4646
47- $CPPCHECK_DIR /cppcheck --inline-suppr -I $PANDA_DIR /board/ \
47+ $CPPCHECK_DIR /cppcheck --inline-suppr \
48+ -I $PANDA_DIR / \
49+ -I $PANDA_DIR /board/ \
50+ -I $PANDA_DIR /board/stm32f4/ \
51+ -I $PANDA_DIR /board/stm32h7/ \
52+ -I $PANDA_DIR /include/board/ \
53+ -I $PANDA_DIR /include/board/stm32f4/ \
54+ -I $PANDA_DIR /include/board/stm32h7/ \
4855 -I " $( arm-none-eabi-gcc -print-file-name=include) " \
4956 -I $PANDA_DIR /board/stm32f4/inc/ -I $PANDA_DIR /board/stm32h7/inc/ \
5057 -I $PANDA_DIR /../opendbc/safety/ \
5158 --suppressions-list=$DIR /suppressions.txt --suppress=* :* inc/* \
52- --suppress= * : * include/ * -- error-exitcode=2 --check-level=exhaustive --safety \
59+ --error-exitcode=2 --check-level=exhaustive --safety \
5360 --platform=arm32-wchar_t4 $COMMON_DEFINES --checkers-report=$CHECKLIST .tmp \
5461 --std=c11 " $@ " 2>&1 | tee $OUTPUT
5562
You can’t perform that action at this time.
0 commit comments