Since 0.6.x you can add --enable-stlink (probably tied to the usb USE flag). This lets you use it to flash/debug stm32 devices. Reproducible: Always
A use flag sounds better indeed
stlink support added to 0.6.1 as well. 0.7.0 and 9999 already had that useflag in place. Thanks for the report. + 08 Sep 2013; Markos Chandras <hwoarang@gentoo.org> openocd-0.6.1.ebuild, + openocd-0.7.0-r1.ebuild, openocd-9999.ebuild: + Add stlink support to 0.6.1 ebuild per #482162 +