STLINK: add check for the supported jtag API version
commitbce7009e31b23250d4325637c7b7cdbae0efed9a
authorMathias K <kesmtp@freenet.de>
Sun, 29 Jan 2012 16:42:40 +0000 (29 17:42 +0100)
committerSpencer Oliver <spen@spen-soft.co.uk>
Mon, 30 Jan 2012 20:17:04 +0000 (30 20:17 +0000)
tree07b898e65adfb92f73829afd8b1ff6f66fae1f3f
parent81b4ef6ee52fd0e897f4c2ecc6a173161abb930f
STLINK: add check for the supported jtag API version

This patch add a validation for the supported jtag api version.

Change-Id: I0b51350e58e351d6662f4039c0a9e9d0d79ba4ec
Signed-off-by: Mathias K <kesmtp@freenet.de>
Reviewed-on: http://openocd.zylin.com/405
Tested-by: jenkins
Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
src/jtag/drivers/stlink_usb.c