This is an automated email from Gerrit.

"Mikhail Iakhiaev <[email protected]>" just uploaded a new patch set to 
Gerrit, which you can find at https://review.openocd.org/c/openocd/+/9413

-- gerrit

commit 4adf30d7882cff25a29db02b6dffc0ab41a4e906
Author: Mikhail Iakhiaev <[email protected]>
Date:   Wed Jan 28 14:04:56 2026 -0800

    tcl/target/ti/mspm0.cfg: fix the auto-selecting transport warning
    
    Got rid of the following warnings:
    
    Warn : DEPRECATED: auto-selecting transport "swd". Use 'transport ...
    Warn : Transport "swd" was already selected
    
    Done by moving the "transport select swd" line before sourcing the
    "swj-dp.tcl", so the interface is explicitly selected before that
    .tcl runs the "transport select" (auto-selecting) command.
    
    Change-Id: Ieafd9c4691343124b2dfb2daa1c0d3a96b13e485
    Signed-off-by: Mikhail Iakhiaev <[email protected]>

diff --git a/tcl/target/ti/mspm0.cfg b/tcl/target/ti/mspm0.cfg
index 4e9b89c1f5..7ec14bd0a1 100644
--- a/tcl/target/ti/mspm0.cfg
+++ b/tcl/target/ti/mspm0.cfg
@@ -26,11 +26,11 @@ if { [info exists DAP_SWD_ID] } {
        set _DAP_SWD_ID 0x2ba01477
 }
 
-source [find target/swj-dp.tcl]
-
 # MSPM0 only supports swd, so set it here and save a line for custom boards
 transport select swd
 
+source [find target/swj-dp.tcl]
+
 set _DAP_ID $_DAP_SWD_ID
 
 swj_newdap $_CHIPNAME cpu -irlen 4 -expected-id $_DAP_ID

-- 

Reply via email to