Skip to content

Commit 774d655

Browse files
committed
boards: arm: rpi_pico: add blackmagicprobe runner configuration
Black Magic Probe supports RP2040. Add the necessary configuration to use it with west. Signed-off-by: Fabio Baltieri <[email protected]>
1 parent de42b6b commit 774d655

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

boards/arm/rpi_pico/board.cmake

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,5 +27,8 @@ board_runner_args(openocd --cmd-pre-init "set_adapter_speed_if_not_set 2000")
2727

2828
board_runner_args(jlink "--device=RP2040_M0_0")
2929

30+
board_runner_args(blackmagicprobe "--gdb-serial=/dev/ttyBmpGdb")
31+
3032
include(${ZEPHYR_BASE}/boards/common/openocd.board.cmake)
3133
include(${ZEPHYR_BASE}/boards/common/jlink.board.cmake)
34+
include(${ZEPHYR_BASE}/boards/common/blackmagicprobe.board.cmake)

0 commit comments

Comments
 (0)