From 0f41634d4fc75dd884f2cd14cb4435a7ce7700af Mon Sep 17 00:00:00 2001 From: Spencer Oliver Date: Tue, 15 Nov 2011 09:17:27 +0000 Subject: scripts: use adapter_khz not deprecated jtag_khz Change-Id: Ibaeebf564a95360dcf21a0921ec99f5263f11915 Signed-off-by: Spencer Oliver Reviewed-on: http://openocd.zylin.com/202 Tested-by: jenkins Reviewed-by: Andreas Fritiofson --- tcl/target/lpc1768.cfg | 2 +- tcl/target/stm32f2x.cfg | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'tcl/target') diff --git a/tcl/target/lpc1768.cfg b/tcl/target/lpc1768.cfg index 6478b2cb..d1734ddb 100644 --- a/tcl/target/lpc1768.cfg +++ b/tcl/target/lpc1768.cfg @@ -52,7 +52,7 @@ flash bank $_FLASHNAME lpc2000 0x0 0x80000 0 0 $_TARGETNAME \ # Run with *real slow* clock by default since the # boot rom could have been playing with the PLL, so # we have no idea what clock the target is running at. -jtag_khz 10 +adapter_khz 10 $_TARGETNAME configure -event reset-init { # Do not remap 0x0000-0x0020 to anything but the flash (i.e. select diff --git a/tcl/target/stm32f2x.cfg b/tcl/target/stm32f2x.cfg index a47b115d..49b53d7e 100644 --- a/tcl/target/stm32f2x.cfg +++ b/tcl/target/stm32f2x.cfg @@ -26,7 +26,7 @@ if { [info exists WORKAREASIZE] } { # bit more to be on the safe side. Perhaps superstition, but if are # running off a crystal, we can run closer to the limit. Note # that there can be a pretty wide band where things are more or less stable. -jtag_khz 1000 +adapter_khz 1000 jtag_nsrst_delay 100 jtag_ntrst_delay 100 -- cgit v1.2.3-18-g5258