From: Spencer Oliver Date: Fri, 8 Aug 2014 21:07:38 +0000 (+0100) Subject: jlink: add variant "J-Link Lite-ADI" X-Git-Tag: v0.9.0-rc1~300 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=83265a4c7019af4ab7d4e2d2bbbc72b972576f20;p=openocd jlink: add variant "J-Link Lite-ADI" Fitted to various Analog Devices ADuCM36x dev boards. Change-Id: Ib3691704c0ecd2f8cba1abba284aee695d6bc135 Signed-off-by: Spencer Oliver Reviewed-on: http://openocd.zylin.com/2244 Tested-by: jenkins --- diff --git a/src/jtag/drivers/jlink.c b/src/jtag/drivers/jlink.c index 8b57ffca..c7a9195c 100644 --- a/src/jtag/drivers/jlink.c +++ b/src/jtag/drivers/jlink.c @@ -189,17 +189,20 @@ static char *jlink_cap_str[] = { #define JLINK_MAX_SPEED 12000 /* J-Link hardware versions */ -#define JLINK_HW_TYPE_JLINK 0 -#define JLINK_HW_TYPE_JTRACE 1 -#define JLINK_HW_TYPE_FLASHER 2 -#define JLINK_HW_TYPE_JLINK_PRO 3 -#define JLINK_HW_TYPE_MAX 4 +#define JLINK_HW_TYPE_JLINK 0 +#define JLINK_HW_TYPE_JTRACE 1 +#define JLINK_HW_TYPE_FLASHER 2 +#define JLINK_HW_TYPE_JLINK_PRO 3 +#define JLINK_HW_TYPE_JLINK_LITE_ADI 5 +#define JLINK_HW_TYPE_MAX 6 static char *jlink_hw_type_str[] = { "J-Link", "J-Trace", "Flasher", "J-Link Pro", + "Unknown", + "J-Link Lite-ADI", }; #define JLINK_TIF_JTAG 0