]> git.sur5r.net Git - openocd/commit
stlink: support expected-id 0
authorSpencer Oliver <spen@spen-soft.co.uk>
Tue, 21 Feb 2012 10:41:39 +0000 (10:41 +0000)
committerSpencer Oliver <spen@spen-soft.co.uk>
Wed, 22 Feb 2012 20:55:23 +0000 (20:55 +0000)
commitf6b50b8ea24f744c87b7cf04d5cc4bd3a0e9c80c
tree89cb1d9763853286f651bb2d7a0a78b7e6964c95
parent897981c318e3b9bb4c825c1b1305fee14888c9e6
stlink: support expected-id 0

This brings the stlink driver inline with the rest of OpenOCD.

If the user configures the tap as -expected-id 0 then the IDCODE will be
treated as a wildcard and ignored.

Change-Id: I99160c69b2b40f5b1f608bb59ab6630894502fd8
Signed-off-by: Spencer Oliver <spen@spen-soft.co.uk>
Reviewed-on: http://openocd.zylin.com/476
Tested-by: jenkins
Reviewed-by: Mathias Küster <kesmtp@freenet.de>
src/jtag/stlink/stlink_interface.c