-
Notifications
You must be signed in to change notification settings - Fork 73
4.0.0 hil integration checkpoint #380
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Draft
LinjingZhang
wants to merge
7
commits into
4.0.0-pre-release
Choose a base branch
from
4.0.0-hil-integration-checkpoint
base: 4.0.0-pre-release
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Changes from all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
9a53e9c
.github/workflows/hil_checks.yml: Update hil workflow.
LinjingZhang a3b6c1e
config/: Add hil config.
LinjingZhang d6bfb87
.gitmodules: Add gir submodule for hil.
LinjingZhang 3167168
extras: Add submodules.
LinjingZhang 52459c1
tests: Delete old arduino-core-tests.
LinjingZhang 5bce0c2
extras/arduino-core-tests: Update hotfix path.
LinjingZhang 576929f
extras/arduino-core-tests: Update to main branch.
LinjingZhang File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
name: HIL Checks | ||
|
||
on: | ||
pull_request: | ||
push: | ||
|
||
jobs: | ||
makers-devops: | ||
uses: Infineon/makers-devops/.github/workflows/[email protected] | ||
with: | ||
project-yaml: config/project.yml | ||
user-yaml: config/user.yml | ||
secrets: inherit | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,131 @@ | ||
# options: | ||
# USE_CORE: | ||
# name: Infineon:[email protected] | ||
# url: https://github.com/Infineon/XMC-for-Arduino/releases/latest/download/package_infineon_index.json | ||
options: | ||
USE_CORE: | ||
name: local | ||
url: https://balabla | ||
# # INCLUDE: | ||
# - filename | ||
|
||
compile: | ||
compile-xmc-kit_xmc47_relax: | ||
description: Compiling test_digitalio_single.cpp for XMC platform | ||
command: make -f Makefile.arduino.mk test_digitalio_single compile | ||
fqbns: [infineon:xmc:kit_xmc47_relax] | ||
working_dir: tests/arduino-core-tests | ||
|
||
code-quality: | ||
source-code-quality-clang-tidy: | ||
description: clang-tidy check sources | ||
tool: clang-tidy | ||
command: extras/makers-devops/src/python/code_checks/run_clang_tidy.sh ./cores/xmc/* ./libraries/* | ||
|
||
source-code-quality-cppcheck: | ||
description: cppcheck check sources | ||
tool: cppcheck | ||
command: extras/makers-devops/src/python/code_checks/run_cppcheck.sh ./cores/xmc/* | ||
| -I extras/arduino-core-api/api/ -I cores/xmc/xmc_lib/XMCLib/inc/ -I variants/XMC1400/config/KIT_XMC14_2GO | ||
| -I variants/XMC1400 -I cores/xmc/avr -I cores/xmc/usblib -I cores/xmc/xmc_lib/inc | ||
| -I /cores/xmc | ||
| -i cores/xmc/xmc_lib/ -i cores/xmc/api/ --suppress=*:cores/xmc/xmc_lib/* | ||
| --suppress=*:extras/arduino-core-api/api/* --suppress=*:cores/xmc/api/* | ||
|
||
# test-code-quality-clang-tidy: | ||
# description: clang-tidy check tests | ||
# tool: clang-tidy | ||
# command: extras/makers-devops/tools/code_checks/run_clang_tidy.sh ./tests/arduino-core-tests/src/* | ||
|
||
# test-code-quality-cppcheck: | ||
# description: cppcheck check tests | ||
# tool: cppcheck | ||
# command: extras/makers-devops/tools/code_checks/run_cppcheck.sh ./tests/arduino-core-tests/src/* | ||
# | -I extras/arduino-core-api/api/ -I variants/CY8CKIT-062S2-AI/mtb-bsp -I extras/mtb-libs/core-lib/include | ||
# | -I libraries/WiFi/src -I libraries/Wire/src -I libraries/SPI/src -I extras/mtb-libs/mtb-hal-cat1/include | ||
# | -I extras/mtb-libs/wifi-connection-manager/include --suppress=*:extras/mtb-libs/wifi-connection-manager/include* | ||
# | -I tests/arduino-core-tests/Unity/src --suppress=*:tests/arduino-core-tests/Unity/src/* | ||
# | -I variants/CY8CKIT-062S2-AI -I cores/psoc6 --suppress=*:variants/CY8CKIT-062S2-AI/* --suppress=*:extras/mtb-libs/mtb-hal-cat1/include/* | ||
# | --suppress=*:extras/arduino-core-api/api/* --suppress=*:cores/psoc6/api/* --suppress=*:variants/CY8CKIT-062S2-AI/mtb-bsp/* --suppress=*:extras/mtb-libs/core-lib/include/* | ||
|
||
# code-quality-clang-format: | ||
# description: clang-tidy check sources | ||
# tool: clang-format | ||
# command: extras/makers-devops/tools/code_checks/run_clang_format.sh ./cores/psoc6/* ./libraries/* | ||
|
||
# code-quality-black-format: | ||
# description: clang-tidy check sources | ||
# tool: black-format | ||
# command: extras/makers-devops/tools/code_checks/run_black.sh ./extras/makers-devops/tools/* | ||
|
||
|
||
|
||
unit-test: | ||
unit-test-timer-4700: | ||
- description: Compiling, flashing and monitoring timer unit test. | ||
command: make test_time_single UNITY_PATH=/opt/Unity | ||
query: time_single_board == '1:1' | ||
working_dir: extras/arduino-core-tests | ||
options: | ||
SEND_JOB_START_TOKEN: True | ||
|
||
unit-test-pwm-4700: | ||
- description: Compiling, flashing and monitoring timer unit test. | ||
command: make test_analogio_pwm UNITY_PATH=/opt/Unity | ||
query: analogio_pwm_single_board == '1:1' | ||
working_dir: extras/arduino-core-tests | ||
options: | ||
SEND_JOB_START_TOKEN: True | ||
|
||
unit-test-iic-4700: | ||
- description: Compiling, flashing and monitoring timer unit test. | ||
command: make test_wire_connected1_pingpong UNITY_PATH=/opt/Unity | ||
query: iic_ping_pong_single_board == '1:1' | ||
working_dir: extras/arduino-core-tests | ||
options: | ||
SEND_JOB_START_TOKEN: True | ||
|
||
unit-test-iic-pingpong-4700: | ||
- description: Compiling, flashing and monitoring I2C pingpong slave unit test. | ||
command: make test_wire_connected2_slavepingpong UNITY_PATH=/opt/Unity | ||
query: iic_ping_pong_multiple_boards_slave == '2:1' | ||
working_dir: extras/arduino-core-tests | ||
options: | ||
SEND_JOB_START_TOKEN: True | ||
|
||
- description: Compiling, flashing and monitoring I2C pingpong master unit test. | ||
command: make test_wire_connected2_masterpingpong UNITY_PATH=/opt/Unity | ||
query: iic_ping_pong_multiple_boards_master == '2:1' | ||
working_dir: extras/arduino-core-tests | ||
options: | ||
SEND_JOB_START_TOKEN: True | ||
|
||
unit-test-uart-connected2-4700: | ||
- description: Compiling, flashing and monitoring uart rx unit test. | ||
command: make test_uart_rx UNITY_PATH=/opt/Unity | ||
query: uart_multiple_boards_rx == '1:1' | ||
working_dir: extras/arduino-core-tests | ||
options: | ||
SEND_JOB_START_TOKEN: True | ||
|
||
- description: Compiling, flashing and monitoring uart tx unit test. | ||
command: make test_uart_tx UNITY_PATH=/opt/Unity | ||
query: uart_multiple_boards_tx == '1:1' | ||
working_dir: extras/arduino-core-tests | ||
options: | ||
SEND_JOB_START_TOKEN: True | ||
|
||
unit-test-iic-pingpong-1400: | ||
- description: Compiling, flashing and monitoring I2C pingpong slave unit test. | ||
command: make test_wire_connected2_slavepingpong UNITY_PATH=/opt/Unity | ||
query: iic_ping_pong_multiple_boards_slave == '1:1' | ||
working_dir: extras/arduino-core-tests | ||
options: | ||
SEND_JOB_START_TOKEN: True | ||
|
||
- description: Compiling, flashing and monitoring I2C pingpong master unit test. | ||
command: make test_wire_connected2_masterpingpong UNITY_PATH=/opt/Unity | ||
query: iic_ping_pong_multiple_boards_master == '1:1' | ||
working_dir: extras/arduino-core-tests | ||
options: | ||
SEND_JOB_START_TOKEN: True |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Check warning
Code scanning / CodeQL
Workflow does not contain permissions Medium