add tcl/board/pico2-debug.cfg; update tcl/board/pico-debug.cfg

pico-debug and pico2-debug are virtual CMSIS-DAP adapters that
run on the otherwise dormant second core of the RP2040 and RP2350
respectively.

Change-Id: Ifd7dcbbabeb86c738cc58854add0e897633197de
Signed-off-by: Peter Lawrence <majbthrd@gmail.com>
Reviewed-on: https://review.openocd.org/c/openocd/+/9099
Reviewed-by: Tomas Vanek <vanekt@fbl.cz>
Tested-by: jenkins
This commit is contained in:
Peter Lawrence
2025-08-28 17:18:03 -05:00
committed by Tomas Vanek
parent 9279a489d4
commit c2cfeee471
2 changed files with 12 additions and 2 deletions

View File

@@ -6,5 +6,5 @@
source [find interface/cmsis-dap.cfg]
adapter speed 4000
set CHIPNAME rp2040
source [find target/rp2040-core0.cfg]
set USE_CORE 0
source [find target/rp2040.cfg]

10
tcl/board/pico2-debug.cfg Normal file
View File

@@ -0,0 +1,10 @@
# SPDX-License-Identifier: GPL-2.0-or-later
# pico2-debug is a virtual CMSIS-DAP debug adapter
# it runs on the very same RP2350 target being debugged without additional hardware
# https://github.com/majbthrd/pico2-debug
source [find interface/cmsis-dap.cfg]
adapter speed 4000
set USE_CORE 0
source [find target/rp2350.cfg]