scripts: west_commands: linkserver: fix probe serial number support

With commit f419ea7990 (runner: linkerserver : remove the probe ID
hardcode), support was added to use serial numbers with the linkserver
--probe argument. However, one invocation of the argument was missed,
and still used the "probe index" syntax. Resolve this issue.

Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
This commit is contained in:
Daniel DeGrasse 2024-03-28 10:48:04 -05:00 committed by Anas Nashif
parent 5ab984a834
commit 1254092831

View file

@ -130,7 +130,7 @@ class LinkServerBinaryRunner(ZephyrBinaryRunner):
linkserver_cmd = ([self.linkserver] +
["gdbserver"] +
["--probe", "#"+str(self.probe) ] +
["--probe", str(self.probe) ] +
["--gdb-port", str(self.gdb_port )] +
["--semihost-port", str(self.semihost_port) ] +
_cmd_core +