X-Git-Url: https://review.openocd.org/gitweb?a=blobdiff_plain;f=src%2Fjtag%2Fstartup.tcl;h=4153118c3a68ad2b8c0ecbce4ead0bfc485d8aff;hb=d4993beec4bcb4f667f2d6120d238a70d07489b4;hp=11a79779341488001978d030fbfc0379221642eb;hpb=e224b64d700db906f5b40e7d1d97edb7ae9257b2;p=openocd.git diff --git a/src/jtag/startup.tcl b/src/jtag/startup.tcl index 11a7977934..4153118c3a 100644 --- a/src/jtag/startup.tcl +++ b/src/jtag/startup.tcl @@ -106,4 +106,30 @@ proc jtag_nsrst_assert_width args { eval adapter_nsrst_assert_width $args } +# stlink migration helpers +proc stlink_device_desc args { + echo "DEPRECATED! use 'hla_device_desc' not 'stlink_device_desc'" + eval hla_device_desc $args +} + +proc stlink_serial args { + echo "DEPRECATED! use 'hla_serial' not 'stlink_serial'" + eval hla_serial $args +} + +proc stlink_layout args { + echo "DEPRECATED! use 'hla_layout' not 'stlink_layout'" + eval hla_layout $args +} + +proc stlink_vid_pid args { + echo "DEPRECATED! use 'hla_vid_pid' not 'stlink_vid_pid'" + eval hla_vid_pid $args +} + +proc stlink args { + echo "DEPRECATED! use 'hla' not 'stlink'" + eval hla $args +} + # END MIGRATION AIDS