Skip to content

Commit c2cfeee

Browse files
majbthrdtom-van
authored andcommitted
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 <[email protected]> Reviewed-on: https://review.openocd.org/c/openocd/+/9099 Reviewed-by: Tomas Vanek <[email protected]> Tested-by: jenkins
1 parent 9279a48 commit c2cfeee

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

tcl/board/pico-debug.cfg

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@
66
source [find interface/cmsis-dap.cfg]
77
adapter speed 4000
88

9-
set CHIPNAME rp2040
10-
source [find target/rp2040-core0.cfg]
9+
set USE_CORE 0
10+
source [find target/rp2040.cfg]

tcl/board/pico2-debug.cfg

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# SPDX-License-Identifier: GPL-2.0-or-later
2+
# pico2-debug is a virtual CMSIS-DAP debug adapter
3+
# it runs on the very same RP2350 target being debugged without additional hardware
4+
# https://github.com/majbthrd/pico2-debug
5+
6+
source [find interface/cmsis-dap.cfg]
7+
adapter speed 4000
8+
9+
set USE_CORE 0
10+
source [find target/rp2350.cfg]

0 commit comments

Comments
 (0)