From 9f1b1bbba436e29af026bbf99ee8db26dcaab342 Mon Sep 17 00:00:00 2001 From: TOKITA Hiroshi Date: Wed, 22 Nov 2023 07:34:27 +0900 Subject: [PATCH] boards: arm: rpi_pico: add pyocd runner configuration Adding configuration for support pyocd. Signed-off-by: TOKITA Hiroshi --- boards/arm/rpi_pico/board.cmake | 2 ++ 1 file changed, 2 insertions(+) diff --git a/boards/arm/rpi_pico/board.cmake b/boards/arm/rpi_pico/board.cmake index 07a128fad7bfa3..e9cd4edc18f594 100644 --- a/boards/arm/rpi_pico/board.cmake +++ b/boards/arm/rpi_pico/board.cmake @@ -27,8 +27,10 @@ board_runner_args(openocd --cmd-pre-init "set_adapter_speed_if_not_set 2000") board_runner_args(jlink "--device=RP2040_M0_0") board_runner_args(uf2 "--board-id=RPI-RP2") +board_runner_args(pyocd "--target=rp2040") include(${ZEPHYR_BASE}/boards/common/openocd.board.cmake) include(${ZEPHYR_BASE}/boards/common/jlink.board.cmake) include(${ZEPHYR_BASE}/boards/common/uf2.board.cmake) include(${ZEPHYR_BASE}/boards/common/blackmagicprobe.board.cmake) +include(${ZEPHYR_BASE}/boards/common/pyocd.board.cmake)