diff options
author | Andreas Färber <afaerber@suse.de> | 2015-02-28 02:39:44 +0100 |
---|---|---|
committer | Paul Fertser <fercerpav@gmail.com> | 2015-03-09 08:46:50 +0000 |
commit | 5aa08f785101b0eb72eabf61fac537fb0e91379f (patch) | |
tree | b159c25de37d7f8733274c617e3a16ff3aedc886 | |
parent | 353695582fe9b753a766ac10cc1befa35fd776b0 (diff) | |
download | riscv-openocd-5aa08f785101b0eb72eabf61fac537fb0e91379f.zip riscv-openocd-5aa08f785101b0eb72eabf61fac537fb0e91379f.tar.gz riscv-openocd-5aa08f785101b0eb72eabf61fac537fb0e91379f.tar.bz2 |
jlink: Add variant "J-Link Lite-XMC4000"
Avoids "J-Link hw type unknown 0x10" on the Infineon Relax Lite Kit.
Change-Id: I3091623ead2e84b67ac20d9866307ccbb3f26f66
Signed-off-by: Andreas Färber <afaerber@suse.de>
Reviewed-on: http://openocd.zylin.com/2568
Tested-by: jenkins
Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
-rw-r--r-- | src/jtag/drivers/jlink.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/jtag/drivers/jlink.c b/src/jtag/drivers/jlink.c index 76592e2..0d58796 100644 --- a/src/jtag/drivers/jlink.c +++ b/src/jtag/drivers/jlink.c @@ -195,6 +195,7 @@ static const char * const jlink_cap_str[] = { #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_JLINK_LITE_XMC4000 16 #define JLINK_HW_TYPE_JLINK_LITE_XMC4200 17 #define JLINK_HW_TYPE_LPCLINK2 18 @@ -975,6 +976,9 @@ static int jlink_get_version_info(void) case JLINK_HW_TYPE_JLINK_LITE_ADI: LOG_INFO("J-Link hw type J-Link Lite-ADI"); break; + case JLINK_HW_TYPE_JLINK_LITE_XMC4000: + LOG_INFO("J-Link hw type J-Link Lite-XMC4000"); + break; case JLINK_HW_TYPE_JLINK_LITE_XMC4200: LOG_INFO("J-Link hw type J-Link Lite-XMC4200"); break; |