-
Notifications
You must be signed in to change notification settings - Fork 6.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
west: openocd: Allow to specify FTDI instance by its serial number
To be used in setups with multiple boards attached to the same one host we need to have an ability to specify precisely which JTAG probe to use for a particular board. This is done by passing "ftdi_serial XXX" command to OpenOCD. And the serial ("XXX") is supposed to be passed from higher level, typically via west's options. And exactly for that we add another "openocd" runner option "--serial=XXX" which sets a Tcl's "_ZEPHYR_BOARD_SERIAL" variable that later gets passed to OpenOCD's "ftdi_serial" command. See more discussions on the matter here: #22543 Signed-off-by: Alexey Brodkin <[email protected]>
- Loading branch information
Showing
1 changed file
with
7 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters