Skip to content

Commit a9ddbf7

Browse files
kartbencfriedt
authored andcommitted
boards: seeed: xiao_nrf54l15: fix openocd runner
Zephyr's openOCD works just fine. Also make sure to actually enable openocd runner in the board.cmake file. Signed-off-by: Benjamin Cabé <[email protected]>
1 parent c4225fc commit a9ddbf7

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

boards/seeed/xiao_nrf54l15/board.cmake

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ elseif(CONFIG_SOC_NRF54L15_CPUFLPR)
88
board_runner_args(jlink "--device=nRF54L15_RV32")
99
endif()
1010

11+
include(${ZEPHYR_BASE}/boards/common/openocd.board.cmake)
1112
include(${ZEPHYR_BASE}/boards/common/nrfutil.board.cmake)
1213
include(${ZEPHYR_BASE}/boards/common/nrfjprog.board.cmake)
1314
include(${ZEPHYR_BASE}/boards/common/jlink.board.cmake)

boards/seeed/xiao_nrf54l15/doc/index.rst

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -63,13 +63,10 @@ means Pin number 0 on PORT2, as used in the board's datasheets and manuals.
6363
Programming and Debugging
6464
*************************
6565

66-
The XIAO nRF54L15 contains an SAMD11 with CMSIS-DAP, allowing flashing, debugging, logging, etc. over
67-
the USB port. Doing so requires a version of OpenOCD that includes support for the flash on the nRF54L15
68-
MCU. Until those changes are included in stock OpenOCD, the version bundled with Arduino can be
69-
used, or can be installed from the `OpenOCD Arduino`_.
66+
.. zephyr:board-supported-runners::
7067
71-
When flashing, debugging, etc. you may need to include ``--openocd=/usr/local/bin/openocd
72-
--openocd-search=/usr/local/share/openocd/scripts/`` options to the command.
68+
The XIAO nRF54L15 contains a SAMD11 with CMSIS-DAP, allowing flashing, debugging, logging, etc. over
69+
the USB port.
7370

7471
Flashing
7572
========

0 commit comments

Comments
 (0)