File tree Expand file tree Collapse file tree 6 files changed +12
-13
lines changed Expand file tree Collapse file tree 6 files changed +12
-13
lines changed Original file line number Diff line number Diff line change 3
3
4
4
5
5
6
- FQBN ?= infineon:psoc :cy8ckit_062s2_ai
6
+ FQBN ?= infineon:psoc6 :cy8ckit_062s2_ai
7
7
TARGET ?= test_interrupts_single
8
8
9
9
Original file line number Diff line number Diff line change 1
1
build :
2
- build-psoc -cy8ckit_062s2_ai :
2
+ build-psoc6 -cy8ckit_062s2_ai :
3
3
description : Compiling test_digitalio_single.cpp for PSOC6 platform
4
4
target : test_digitalio_single
5
- fqbn : infineon:psoc :cy8ckit_062s2_ai
5
+ fqbn : infineon:psoc6 :cy8ckit_062s2_ai
6
6
7
7
check :
8
8
check-clang-tidy :
9
9
description : clang-tidy check sources
10
10
tool : clang-tidy
11
- command : tools/code_checks/run_clang_tidy.sh ./cores/psoc /*
11
+ command : tools/code_checks/run_clang_tidy.sh ./cores/psoc6/* ./libraries /*
12
12
13
13
check-cppcheck :
14
14
description : cppcheck check sources
15
15
tool : cppcheck
16
- command : tools/code_checks/run_cppcheck.sh ./cores/psoc/* -Iextras/arduino-core-api/api -Ivariants/CY8CKIT-062S2-AI/mtb-bsp -Iextras/mtb-libs/core-lib/include --suppress=*:extras/arduino-core-api/api/* --suppress=*:variants/CY8CKIT-062S2-AI/mtb-bsp/* --suppress=*:extras/mtb-libs/core-lib/include/*
16
+ command : tools/code_checks/run_cppcheck.sh ./cores/psoc6/* ./libraries/*
17
+ | -I extras/arduino-core-api/api/ -I variants/CY8CKIT-062S2-AI/mtb-bsp -I extras/mtb-libs/core-lib/include
18
+ | --suppress=*:extras/arduino-core-api/api/* --suppress=*:variants/CY8CKIT-062S2-AI/mtb-bsp/* --suppress=*:extras/mtb-libs/core-lib/include/*
17
19
18
20
clang-format :
19
21
description : clang-tidy check sources
20
22
tool : clang-format
21
- command : tools/code_checks/run_clang_format.sh ./cores/psoc /* ./libraries/*
23
+ command : tools/code_checks/run_clang_format.sh ./cores/psoc6 /* ./libraries/*
22
24
23
25
black-format :
24
26
description : clang-tidy check sources
Original file line number Diff line number Diff line change 5
5
- black-format
6
6
7
7
build :
8
- - build-psoc -cy8ckit_062s2_ai
8
+ - build-psoc6 -cy8ckit_062s2_ai
Original file line number Diff line number Diff line change @@ -112,7 +112,6 @@ for pattern in $*; do
112
112
for file in $file_list ; do
113
113
file_base=` basename $file `
114
114
115
- # echo "$unbuffer clang-tidy $checks $config_file $export_fixes $extra_arg $fix $header_filter $quiet $system_headers $use_color $warnings_as_errors $file -- 2>&1 | tee $output_dir/$file_prefix.$file_base.log"
116
115
$unbuffer clang-tidy $checks $config_file $export_fixes $extra_arg $fix $header_filter $quiet $system_headers $use_color $warnings_as_errors $file -- $excludes $includes 2>&1 | tee $output_dir /$file_prefix .$file_base .log
117
116
118
117
fileReturnValue=${PIPESTATUS[0]}
Original file line number Diff line number Diff line change 96
96
97
97
if [ ! -d " $output_dir " ]; then
98
98
mkdir -p $output_dir /html-report
99
+ mkdir -p $output_dir /build
99
100
fi
100
101
101
102
@@ -120,14 +121,11 @@ echo "use-shell-color : $use_shell_color"
120
121
echo " "
121
122
122
123
123
- # echo "cppcheck $addon --check-level=$check_level $enable --error-exitcode=$error_exitcode $exitcode_suppressions $file_filter $file_list --inconclusive \
124
- # --max-configs=$max_configs --std=$std $suppress --xml 2> $output_dir/cppcheck-errors.xml $* | tee $output_dir/$file_prefix.log"
125
-
126
124
returnValue=0
127
125
128
126
129
127
$unbuffer cppcheck $addon $check_level $enable $error_exitcode $excludes $exitcode_suppressions $file_filter $file_list $includes $inconclusive \
130
- $max_configs $std $suppress $suppressions_list --xml --output-file=$output_dir /$file_prefix -errors.xml $* 2>&1 | tee $output_dir /$file_prefix .log
128
+ $max_configs $std $suppress $suppressions_list --cppcheck-build-dir= $output_dir /build -j4 -- xml --output-file=$output_dir /$file_prefix -errors.xml $* 2>&1 | tee $output_dir /$file_prefix .log
131
129
returnValue=${PIPESTATUS[0]}
132
130
133
131
echo " " | tee -a $output_dir /$file_prefix .log
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ ulimit -n 1024
13
13
# commit formatting
14
14
15
15
function ci_commit_formatting_run {
16
- git remote add upstream https://github.com/Infineon/arduino-core-psoc .git
16
+ git remote add upstream https://github.com/Infineon/arduino-core-psoc6 .git
17
17
git fetch --depth=100 upstream main
18
18
# If the common ancestor commit hasn't been found, fetch more.
19
19
git merge-base upstream/main HEAD || git fetch upstream main
You can’t perform that action at this time.
0 commit comments