apache / mynewt-newt

An OS to build, deploy and securely manage billions of devices
https://mynewt.apache.org/
Apache License 2.0
117 stars 96 forks source link

DOCS: how to specify a device to flash when multiple are connected? #560

Closed sacca97 closed 6 months ago

sacca97 commented 6 months ago

As per title, cannot find anything in the docs and JLink does not help

sacca97 commented 6 months ago

Thanks to #239

--extrajtagcmd "-select usb=your board s/n"

andrzej-kaczmarek commented 6 months ago

@sacca97 you can also use JLINK_SN env variable, i.e. JLINK_SN=123456 newt load xxx - this basically does the same but it's easier to remember