Skip to content

Commit

Permalink
kill openocd
Browse files Browse the repository at this point in the history
  • Loading branch information
wsipak committed Oct 2, 2024
1 parent 6022135 commit ce3dcba
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
1 change: 0 additions & 1 deletion .github/scripts/openocd/board/caliptra-verilator-rst.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,3 @@ source [find veer-el2-rst.cfg]

# Increase timeouts in simulation
riscv set_command_timeout_sec 300
tcl_port 5001
1 change: 0 additions & 1 deletion .github/scripts/openocd/board/caliptra-verilator.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,3 @@ source [find veer-el2.cfg]

# Increase timeouts in simulation
riscv set_command_timeout_sec 300
tcl_port 5001
2 changes: 1 addition & 1 deletion .github/workflows/build-openocd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
# peripherals regardless of core state.
OPENOCD_REPO: https://github.com/antmicro/openocd
OPENOCD_VERSION: riscv-nohalt-change-module

steps:
- name: Setup Cache Metadata
id: cache_metadata
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/test-openocd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ jobs:
${RV_ROOT}/.github/scripts/openocd_test.sh \
-f ${RV_ROOT}/testbench/openocd_scripts/verilator-rst.cfg \
-f ${RV_ROOT}/testbench/openocd_scripts/jtag_cg.tcl
pkill openocd
- name: Test with GDB-test (register access)
run: |
Expand All @@ -104,6 +105,7 @@ jobs:
cd reg_test
${RV_ROOT}/.github/scripts/gdb_test.sh \
/bin/bash -c 'cd ${RV_ROOT}/.github/scripts && ./dump_and_compare.sh'
pkill openocd
- name: Test with GDB-test (memory access)
run: |
Expand All @@ -116,6 +118,7 @@ jobs:
cd mem_test
${RV_ROOT}/.github/scripts/gdb_test.sh \
/bin/bash -c 'cd ${RV_ROOT}/.github/scripts && ./mem_access.sh'
pkill openocd
- name: Prepare coverage data
run: |
Expand Down

0 comments on commit ce3dcba

Please sign in to comment.