]> www.infradead.org Git - users/borneoa/openocd-next.git/commit
stlink: deprecate HLA support
authorAntonio Borneo <borneo.antonio@gmail.com>
Sat, 12 Oct 2024 09:48:05 +0000 (11:48 +0200)
committerAntonio Borneo <borneo.antonio@gmail.com>
Sat, 2 Nov 2024 21:01:07 +0000 (21:01 +0000)
commit34ec5536c0ba3315bc5a841244bbf70141ccfbb4
tree0240309e41ae25515f7519f91e072a2656a85a8d
parent3ce0962f2c525595bcbd0bd5da73673e236fc42d
stlink: deprecate HLA support

The STLink API that supports dap-direct is available from STLink
firmware v2j24, published in early 2015.
We can reasonably expect that any old STLink still in use today
has got at least one firmware update during the last 10 years.

Most of the board files in upstream OpenOCD still use the STLink
in HLA mode. This limits the test coverage of the dap-direct code,
which was introduced in OpenOCD v0.11.0.

- Rename interface/stlink.cfg as interface/stlink-hla.cfg to still
  provide support for HLA, adding a deprecated message.

- Rename interface/stlink-dap.cfg as interface/stlink.cfg to make
  dap-direct the default trasport.

- Add a redirect file interface/stlink-dap.cfg for users that have
  out-of-tree custom board files.

- Update all the board files to the new setup.

- Remove STLink HLA mentions from the documentation, while adding
  a reference to interface/stlink-hla.cfg

Checkpatch-ignore: LONG_LINE
Change-Id: I99366bb03cd3b83f8f408514e657f30e59813063
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Reviewed-on: https://review.openocd.org/c/openocd/+/8523
Tested-by: jenkins
Reviewed-by: Andrzej Sierżęga <asier70@gmail.com>
55 files changed:
doc/openocd.texi
tcl/board/st_b-l475e-iot01a.cfg
tcl/board/st_nucleo_8l152r8.cfg
tcl/board/st_nucleo_8s208rb.cfg
tcl/board/st_nucleo_f0.cfg
tcl/board/st_nucleo_f103rb.cfg
tcl/board/st_nucleo_f3.cfg
tcl/board/st_nucleo_f4.cfg
tcl/board/st_nucleo_f7.cfg
tcl/board/st_nucleo_g0.cfg
tcl/board/st_nucleo_g4.cfg
tcl/board/st_nucleo_h743zi.cfg
tcl/board/st_nucleo_h745zi.cfg
tcl/board/st_nucleo_l073rz.cfg
tcl/board/st_nucleo_l1.cfg
tcl/board/st_nucleo_l4.cfg
tcl/board/st_nucleo_l5.cfg
tcl/board/st_nucleo_wb55.cfg
tcl/board/stm320518_eval_stlink.cfg
tcl/board/stm3220g_eval_stlink.cfg
tcl/board/stm3241g_eval_stlink.cfg
tcl/board/stm32429i_eval_stlink.cfg
tcl/board/stm32439i_eval_stlink.cfg
tcl/board/stm32f0discovery.cfg
tcl/board/stm32f3discovery.cfg
tcl/board/stm32f412g-disco.cfg
tcl/board/stm32f413h-disco.cfg
tcl/board/stm32f429disc1.cfg
tcl/board/stm32f429discovery.cfg
tcl/board/stm32f469discovery.cfg
tcl/board/stm32f469i-disco.cfg
tcl/board/stm32f4discovery.cfg
tcl/board/stm32f723e-disco.cfg
tcl/board/stm32f746g-disco.cfg
tcl/board/stm32f769i-disco.cfg
tcl/board/stm32f7discovery.cfg
tcl/board/stm32h735g-disco.cfg
tcl/board/stm32h745i-disco.cfg
tcl/board/stm32h747i-disco.cfg
tcl/board/stm32h750b-disco.cfg
tcl/board/stm32h7b3i-disco.cfg
tcl/board/stm32h7x3i_eval.cfg
tcl/board/stm32l0discovery.cfg
tcl/board/stm32l476g-disco.cfg
tcl/board/stm32l496g-disco.cfg
tcl/board/stm32l4discovery.cfg
tcl/board/stm32l4p5g-disco.cfg
tcl/board/stm32l4r9i-disco.cfg
tcl/board/stm32ldiscovery.cfg
tcl/board/stm32mp13x_dk.cfg
tcl/board/stm32mp15x_dk2.cfg
tcl/board/stm32vldiscovery.cfg
tcl/interface/stlink-dap.cfg
tcl/interface/stlink-hla.cfg [new file with mode: 0644]
tcl/interface/stlink.cfg