]> www.infradead.org Git - users/borneoa/openocd-next.git/commit
stlink: simplify the use of deprecated HLA transport
authorAntonio Borneo <borneo.antonio@gmail.com>
Mon, 23 Dec 2024 19:20:08 +0000 (20:20 +0100)
committerAntonio Borneo <borneo.antonio@gmail.com>
Thu, 1 May 2025 15:29:21 +0000 (15:29 +0000)
commit420f637cab324541230fbff0dea447cf40df3b0f
treead0e717f5b7a7470569708091dffdd9bd4f89444
parentad53fe659b46657ddf16a08f8dc4f4d0c5df8901
stlink: simplify the use of deprecated HLA transport

Commit 34ec5536c0ba ("stlink: deprecate HLA support") makes hard
to use the still functional HLA transport with the stlink listed
in board config files.
Now that the prefixes 'hla_' and 'dapdirect_' has been dropped
from the transport name, allow overriding the transport by using
the 'stlink-hla' script in front of the board file, e.g.:

openocd -f interface/stlink-hla.cfg -f board/st_nucleo_f4.cfg

Revert the documentation changes of the change above.
Improve the documentation to explain how to use the compatibility
HLA mode.
Improve the error message in stlink driver to guide the user to
update the stlink firmware and to use the compatibility HLA mode.

Change-Id: I5d0bc7954511692cebe024bda2aaa72767b97681
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Reviewed-on: https://review.openocd.org/c/openocd/+/8679
Tested-by: jenkins
doc/openocd.texi
src/jtag/drivers/stlink_usb.c
tcl/interface/stlink.cfg