From 83265a4c7019af4ab7d4e2d2bbbc72b972576f20 Mon Sep 17 00:00:00 2001 From: Spencer Oliver Date: Fri, 8 Aug 2014 22:07:38 +0100 Subject: [PATCH] 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 --- src/jtag/drivers/jlink.c | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) 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 -- 2.39.5