This is an automated email from Gerrit. "Antonio Borneo <[email protected]>" just uploaded a new patch set to Gerrit, which you can find at https://review.openocd.org/c/openocd/+/9424
-- gerrit commit 073a1154ca949209acb0da987fabe482024f2617 Author: Antonio Borneo <[email protected]> Date: Sun Feb 1 13:48:39 2026 +0100 target: stm32f0x: drop swj on swd only target The datasheets for all STM32F0xx devices report that only SWD is supported. No TDI/TDO pin is present. Drop swj support. Add swd transport. Change-Id: I65a08b6a441d794aa209cff8583a971d3546f49e Signed-off-by: Antonio Borneo <[email protected]> diff --git a/tcl/target/stm32f0x.cfg b/tcl/target/stm32f0x.cfg index 5b8954eb21..06c8fa5591 100644 --- a/tcl/target/stm32f0x.cfg +++ b/tcl/target/stm32f0x.cfg @@ -5,7 +5,8 @@ # # stm32 devices support SWD transports only. # -source [find target/swj-dp.tcl] +transport select swd + source [find mem_helper.tcl] if { [info exists CHIPNAME] } { @@ -41,7 +42,7 @@ if { [info exists CPUTAPID] } { set _CPUTAPID 0x0bb11477 } -swj_newdap $_CHIPNAME cpu -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id $_CPUTAPID +swd newdap $_CHIPNAME cpu -expected-id $_CPUTAPID dap create $_CHIPNAME.dap -chain-position $_CHIPNAME.cpu set _TARGETNAME $_CHIPNAME.cpu --
