From 22bad00b9b49756b036bc081a1a1f687ae989394 Mon Sep 17 00:00:00 2001 From: Antonio Borneo Date: Sun, 1 Feb 2026 14:02:03 +0100 Subject: [PATCH] target: stm32u0x: add transport swd The STM32U0xx devices support only SWD. Add swd transport in the target file. Remove swd transport from the associated board files. Change-Id: I2d31856951d15fcf2d1986ee5b1b31464e68db1c Signed-off-by: Antonio Borneo Reviewed-on: https://review.openocd.org/c/openocd/+/9427 Reviewed-by: Tomas Vanek Tested-by: jenkins Reviewed-by: Ahmed Haoues --- tcl/board/st/nucleo-u083rc.cfg | 2 -- tcl/target/stm32u0x.cfg | 1 + 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/tcl/board/st/nucleo-u083rc.cfg b/tcl/board/st/nucleo-u083rc.cfg index 03e956930..eff0cf28a 100644 --- a/tcl/board/st/nucleo-u083rc.cfg +++ b/tcl/board/st/nucleo-u083rc.cfg @@ -5,8 +5,6 @@ source [find interface/stlink.cfg] -transport select swd - source [find target/stm32u0x.cfg] reset_config srst_only diff --git a/tcl/target/stm32u0x.cfg b/tcl/target/stm32u0x.cfg index d3aaed3cb..7bce8f6d7 100644 --- a/tcl/target/stm32u0x.cfg +++ b/tcl/target/stm32u0x.cfg @@ -4,6 +4,7 @@ # # STM32U0 devices support only SWD transport. # +transport select swd source [find mem_helper.tcl]