]> git.sur5r.net Git - openocd/commitdiff
stlink: print version info
authorSpencer Oliver <spen@spen-soft.co.uk>
Wed, 24 Oct 2012 10:42:09 +0000 (11:42 +0100)
committerSpencer Oliver <spen@spen-soft.co.uk>
Sun, 23 Dec 2012 21:38:09 +0000 (21:38 +0000)
Print stlink info always rather than just when debug log enabled.

Change-Id: I2a29ef046925200e1c94624280c0b252fab5219a
Signed-off-by: Spencer Oliver <spen@spen-soft.co.uk>
Reviewed-on: http://openocd.zylin.com/925
Tested-by: jenkins
src/jtag/drivers/stlink_usb.c

index 4382538d2d339a43a57b20bfedc775bdc4d022ab..7e31fe0429c6b7df232b74b880104cf70a48e73b 100644 (file)
@@ -413,7 +413,7 @@ static int stlink_usb_version(void *handle)
        else
                h->version.jtag_api_max = STLINK_JTAG_API_V1;
 
-       LOG_DEBUG("STLINK v%d JTAG v%d API v%d SWIM v%d VID 0x%04X PID 0x%04X",
+       LOG_INFO("STLINK v%d JTAG v%d API v%d SWIM v%d VID 0x%04X PID 0x%04X",
                h->version.stlink,
                h->version.jtag,
                (h->version.jtag_api_max == STLINK_JTAG_API_V1) ? 1 : 2,