Allow transports to override the selected target (hla configs unification) 64/1664/11
authorPaul Fertser <fercerpav@gmail.com>
Sat, 28 Sep 2013 10:23:15 +0000 (14:23 +0400)
committerAndreas Fritiofson <andreas.fritiofson@gmail.com>
Mon, 11 Aug 2014 21:25:56 +0000 (21:25 +0000)
commitc7384117c66e8f18896ca09ab8095d6da16bb1e5
tree2513a1c61d2d8c6d92171a238281189ca3962f4a
parentf701c0cbeb346df4cda378d3b4d5136aabba3b37
Allow transports to override the selected target (hla configs unification)

This should allow to share common configs for both regular access and
high-level adapters.

Use the newly-added functionality in stlink and icdi drivers, amend
the configs accordingly.

Runtime-tested with a TI tm4c123g board.

Change-Id: Ibb88266a4ca25f06f6c073e916c963f017447bad
Signed-off-by: Paul Fertser <fercerpav@gmail.com>
[gus@projectgus.com: context-specific deprecation warnings]
Signed-off-by: Angus Gratton <gus@projectgus.com>
[andrew.smirnov@gmail.com: additional nrf51.cfg mods]
Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
Tested-by: Andrey Skvortsov <andrej.skvortzov@gmail.com>
Reviewed-on: http://openocd.zylin.com/1664
Tested-by: jenkins
Reviewed-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
67 files changed:
src/jtag/drivers/stlink_usb.c
src/jtag/drivers/ti_icdi_usb.c
src/jtag/hla/hla_interface.c
src/jtag/hla/hla_interface.h
src/jtag/hla/hla_layout.h
src/jtag/hla/hla_tcl.c
src/jtag/hla/hla_transport.c
src/target/target.c
src/transport/transport.h
tcl/board/ek-lm4f120xl.cfg
tcl/board/ek-lm4f232.cfg
tcl/board/ek-tm4c123gxl.cfg
tcl/board/st_nucleo_f030r8.cfg
tcl/board/st_nucleo_f103rb.cfg
tcl/board/st_nucleo_f334r8.cfg
tcl/board/st_nucleo_f401re.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/stm32f429discovery.cfg
tcl/board/stm32f4discovery.cfg
tcl/board/stm32ldiscovery.cfg
tcl/board/stm32vldiscovery.cfg
tcl/target/1986ве1т.cfg
tcl/target/at91sam3XXX.cfg
tcl/target/at91sam3nXX.cfg
tcl/target/at91sam4XXX.cfg
tcl/target/at91samdXX.cfg
tcl/target/efm32.cfg [new file with mode: 0644]
tcl/target/efm32_stlink.cfg
tcl/target/fm3.cfg
tcl/target/k40.cfg
tcl/target/k60.cfg
tcl/target/kl25.cfg
tcl/target/kl25z_hla.cfg
tcl/target/kl46.cfg
tcl/target/lpc11uxx.cfg
tcl/target/lpc1788.cfg
tcl/target/lpc17xx.cfg
tcl/target/lpc1850.cfg
tcl/target/lpc4350.cfg
tcl/target/mdr32f9q2i.cfg
tcl/target/nrf51.cfg [new file with mode: 0644]
tcl/target/nrf51_stlink.tcl
tcl/target/stellaris.cfg
tcl/target/stellaris_icdi.cfg
tcl/target/stm32_stlink.cfg
tcl/target/stm32f0x.cfg
tcl/target/stm32f0x_stlink.cfg
tcl/target/stm32f1x.cfg
tcl/target/stm32f1x_stlink.cfg
tcl/target/stm32f2x.cfg
tcl/target/stm32f2x_stlink.cfg
tcl/target/stm32f3x.cfg
tcl/target/stm32f3x_stlink.cfg
tcl/target/stm32f4x.cfg
tcl/target/stm32f4x_stlink.cfg
tcl/target/stm32l.cfg
tcl/target/stm32lx_dual_bank.cfg
tcl/target/stm32lx_stlink.cfg
tcl/target/stm32w108_stlink.cfg
tcl/target/stm32w108xx.cfg
tcl/target/swj-dp.tcl