Skip to content

Commit 7cd7946

Browse files
committed
[nrf fromlist] boards: nordic: nrf54h20dk: Add workaround for RISC-V debugging
Add workaround that enables `west debug` and `west attach` on nrf54h20dk/nrf54h20/cpuppr and cpuflpr. Remove "-if SW" as this generates warning WARNING: runners.jlink: "f SW" does not match any known pattern And breaks JLinkGDBServer command by setting option `-select` to `usb=f SW`. Upstream PR #: 100744 Signed-off-by: Sebastian Głąb <[email protected]>
1 parent 346e646 commit 7cd7946

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

boards/nordic/nrf54h20dk/board.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,6 @@ if(CONFIG_BOARD_NRF54H20DK_NRF54H20_CPUPPR OR CONFIG_BOARD_NRF54H20DK_NRF54H20_C
2020
set(JLINKSCRIPTFILE ${CMAKE_CURRENT_LIST_DIR}/support/nrf54h20_cpuflpr.JLinkScript)
2121
endif()
2222

23-
board_runner_args(jlink "--device=RISC-V" "--speed=4000" "-if SW" "--tool-opt=-jlinkscriptfile ${JLINKSCRIPTFILE}")
23+
board_runner_args(jlink "--device=nRF54L15_RV32" "--speed=4000" "--tool-opt=-jlinkscriptfile ${JLINKSCRIPTFILE}")
2424
include(${ZEPHYR_BASE}/boards/common/jlink.board.cmake)
2525
endif()

0 commit comments

Comments
 (0)