diff --git a/boards/rpi-pico/dist/openocd.cfg b/boards/rpi-pico/dist/openocd.cfg index 8da868c88006..9012a5925c96 100644 --- a/boards/rpi-pico/dist/openocd.cfg +++ b/boards/rpi-pico/dist/openocd.cfg @@ -1,3 +1,5 @@ -source [find target/rp2040-core0.cfg] -$_TARGETNAME configure -rtos auto +source [find target/rp2040.cfg] +set USE_CORE 0 +set RESCUE 1 +$_TARGETNAME_0 configure -rtos auto adapter speed 4000