From 8f22bf77126733c3d83586e1949d625a37f604db Mon Sep 17 00:00:00 2001 From: Mark O'Donovan Date: Thu, 8 Jan 2026 11:57:11 +0000 Subject: [PATCH] tcl/target: Stop setting adapter speed in max32xxx_common.cfg Using the default speed is common and is preferred by OpenOCD. Change-Id: I10f4ab7981aa6f9ae8e0882494287cc4b26b0398 Signed-off-by: Mark O'Donovan Reviewed-on: https://review.openocd.org/c/openocd/+/9382 Tested-by: jenkins Reviewed-by: Tomas Vanek --- tcl/target/max32xxx_common.cfg | 8 -------- 1 file changed, 8 deletions(-) diff --git a/tcl/target/max32xxx_common.cfg b/tcl/target/max32xxx_common.cfg index 50a7d85e9..e8e2dd428 100644 --- a/tcl/target/max32xxx_common.cfg +++ b/tcl/target/max32xxx_common.cfg @@ -5,14 +5,6 @@ source [find mem_helper.tcl] source [find target/swj-dp.tcl] -# Set the adapter speed -if { [info exists ADAPTER_KHZ] } { - set _ADAPTER_KHZ $ADAPTER_KHZ -} else { - set _ADAPTER_KHZ 2000 -} -adapter speed $_ADAPTER_KHZ - # Target configuration if { [info exists CHIPNAME] } { set _CHIPNAME $CHIPNAME