scripts: notify user of deprecated jtag_* functions

Change-Id: Ia97dda6918e20fb29d6e76d43856eede8fcc60dd
Signed-off-by: Spencer Oliver <spen@spen-soft.co.uk>
Reviewed-on: http://openocd.zylin.com/203
Tested-by: jenkins
Reviewed-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
__archive__
Spencer Oliver 2011-11-15 09:18:44 +00:00 committed by Andreas Fritiofson
parent b302344779
commit e224b64d70
1 changed files with 14 additions and 3 deletions

View File

@ -91,8 +91,19 @@ add_help_text measure_clk "Runs a test to measure the JTAG clk. Useful with RCLK
#
# FIXME phase these aids out after about April 2011
#
proc jtag_khz args { eval adapter_khz $args }
proc jtag_nsrst_delay args { eval adapter_nsrst_delay $args }
proc jtag_nsrst_assert_width args { eval adapter_nsrst_assert_width $args }
proc jtag_khz args {
echo "DEPRECATED! use 'adapter_khz' not 'jtag_khz'"
eval adapter_khz $args
}
proc jtag_nsrst_delay args {
echo "DEPRECATED! use 'adapter_nsrst_delay' not 'jtag_nsrst_delay'"
eval adapter_nsrst_delay $args
}
proc jtag_nsrst_assert_width args {
echo "DEPRECATED! use 'adapter_nsrst_assert_width' not 'jtag_nsrst_assert_width'"
eval adapter_nsrst_assert_width $args
}
# END MIGRATION AIDS