stlink: dump version in the same format of ST firmware upgrade tool 15/4715/3
authorAntonio Borneo <borneo.antonio@gmail.com>
Mon, 1 Oct 2018 07:30:12 +0000 (09:30 +0200)
committerSpencer Oliver <spen@spen-soft.co.uk>
Thu, 6 Dec 2018 13:06:10 +0000 (13:06 +0000)
commit6807e6b23deede9fb8e123f5275ff9b653c05ce3
tree45734bce650a4dbedb1d8135c3a9173b0546afe2
parent3e2967c75a1676d830fce23f28c541d95ebd5ff7
stlink: dump version in the same format of ST firmware upgrade tool

This should help comparing the versions before deciding for a
firmware update.

Change-Id: I7012a60587587539b2fd1a5f9c3b1ce72877793f
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Reviewed-on: http://openocd.zylin.com/4715
Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
Tested-by: Spencer Oliver <spen@spen-soft.co.uk>
src/jtag/drivers/stlink_usb.c