From: Marc Schink Date: Fri, 18 Nov 2016 16:27:16 +0000 (+0100) Subject: jlink: Output libjaylink version X-Git-Tag: v0.10.0-rc1~25 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=082b88bc8ae5ba71b06a6c7e6e1ce1d26657dbb5;p=openocd jlink: Output libjaylink version Output the package version of libjaylink to ease debugging. Change-Id: I3b9da6d046d140ba850056c98e67bed22c885ee0 Signed-off-by: Marc Schink Reviewed-on: http://openocd.zylin.com/3887 Tested-by: jenkins Reviewed-by: Paul Fertser --- diff --git a/src/jtag/drivers/jlink.c b/src/jtag/drivers/jlink.c index 65ff81aa..bd3c5e03 100644 --- a/src/jtag/drivers/jlink.c +++ b/src/jtag/drivers/jlink.c @@ -545,6 +545,9 @@ static int jlink_init(void) enum jaylink_usb_address address; size_t length; + LOG_DEBUG("Using libjaylink %s (compiled with %s).", + jaylink_version_package_get_string(), JAYLINK_VERSION_PACKAGE_STRING); + ret = jaylink_init(&jayctx); if (ret != JAYLINK_OK) {