openocd is inherently unable to distinguish STLinks by default, but a modification can be done to check the serial. See Programming with multiple ST-Link programmers. This is different for every single upload tool, some might not even support it.
openocd is inherently unable to distinguish STLinks by default, but a modification can be done to check the serial. See Programming with multiple ST-Link programmers. This is different for every single upload tool, some might not even support it.