Added parameter to specify one stlink v2 of many
authorGeorg von Zengen <vonzengen@ibr.cs.tu-bs.de>
Mon, 7 Dec 2015 16:23:15 +0000 (17:23 +0100)
committerGeorg von Zengen <vonzengen@ibr.cs.tu-bs.de>
Mon, 7 Dec 2015 16:44:52 +0000 (17:44 +0100)
commit06fd9c4b700e681e04ec78f5664fd55674f94b6f
treeda3c4f6b3dc73e76ea37197e18e628fbf1f0771e
parentf290f65c7473f73a5672c332a5a04432a2db8dbb
Added parameter to specify one stlink v2 of many

This adds a parameter to the function stlink_open_usb and to the binary
st-flash to specify one of multiple connected stlinks.
As the identifier the iSerial of the stlink is used.
If no serial is given the function and binary behave as before.
flash/main.c
gdbserver/gdb-server.c
gui/stlink-gui.c
src/st-info.c
src/st-term.c
src/stlink-usb.c
src/stlink-usb.h
src/test_usb.c