Skip to content

Commit c345f95

Browse files
yonschcarlescufi
authored andcommitted
boards: rpi_pico: Fixed openocd invocation
Pass openocd "cmsis-dap.cfg" instead of the obsolete "picoprobe.cfg". Signed-off-by: Yonatan Schachter <[email protected]>
1 parent a24eec2 commit c345f95

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

boards/arm/rpi_pico/board.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
# in the openocd interface configuration file.
1515
# The setting is store to CMakeCache.txt.
1616
if ("${RPI_PICO_DEBUG_ADAPTER}" STREQUAL "")
17-
set(RPI_PICO_DEBUG_ADAPTER picoprobe)
17+
set(RPI_PICO_DEBUG_ADAPTER "cmsis-dap")
1818
endif()
1919

2020
board_runner_args(openocd --cmd-pre-init "source [find interface/${RPI_PICO_DEBUG_ADAPTER}.cfg]")

0 commit comments

Comments
 (0)