aboutsummaryrefslogtreecommitdiff
path: root/tcl/target
diff options
context:
space:
mode:
authorSpencer Oliver <spen@spen-soft.co.uk>2011-11-15 09:17:27 +0000
committerAndreas Fritiofson <andreas.fritiofson@gmail.com>2011-11-18 22:14:55 +0000
commit0f41634d4fc75dd884f2cd14cb4435a7ce7700af (patch)
tree9ecd4ea84ddb11c620a20fc76ea46e368a392be0 /tcl/target
parentdbf25984cda750dd4ebd3be3b267e6b39bec4111 (diff)
scripts: use adapter_khz not deprecated jtag_khz
Change-Id: Ibaeebf564a95360dcf21a0921ec99f5263f11915 Signed-off-by: Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on: http://openocd.zylin.com/202 Tested-by: jenkins Reviewed-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
Diffstat (limited to 'tcl/target')
-rw-r--r--tcl/target/lpc1768.cfg2
-rw-r--r--tcl/target/stm32f2x.cfg2
2 files changed, 2 insertions, 2 deletions
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