stlink: rename stlink cmd names

As part of the switch to using the hla for the stlink interface we rename
the cmds to a more generic name.

Update scripts to match new names.

Also add handlers for deprecated names.

Change-Id: I6f00743da746e3aa13ce06acfdc93c8049545e07
Signed-off-by: Spencer Oliver <spen@spen-soft.co.uk>
Reviewed-on: http://openocd.zylin.com/921
Tested-by: jenkins
This commit is contained in:
Spencer Oliver
2012-10-24 09:52:00 +01:00
parent 549d9bc72c
commit 6c467da586
8 changed files with 72 additions and 33 deletions

View File

@@ -87,7 +87,7 @@ extern struct target_type dsp563xx_target;
extern struct target_type dsp5680xx_target;
extern struct target_type testee_target;
extern struct target_type avr32_ap7k_target;
extern struct target_type stm32_stlink_target;
extern struct target_type hla_target;
static struct target_type *target_types[] = {
&arm7tdmi_target,
@@ -110,7 +110,7 @@ static struct target_type *target_types[] = {
&dsp5680xx_target,
&testee_target,
&avr32_ap7k_target,
&stm32_stlink_target,
&hla_target,
NULL,
};