Hi Sugang,

On Fri, Jan 29, 2016 at 04:13:13PM -0500, Sugang Li wrote:
> When I need to flash RIOT onto two USB connected boards, is there a way
> that I can specify the PORT that I want to flash (i.e. ttyACM0 or ttyACM1)?

assuming you're talking about the SAMR21 again, you can call
 BOARD=samr21-xpro make list-ttys
(see also dist/tools/usb-serial/README.md)
to get a listing of all currently connected USB-to-serial adapters. It will
also print the serial number of each device. Now you can call
 SERIAL='XYZ' BOARD=samr21-xpro make flash
to flash the board with serial number XYZ.

Cheers,
Oleg
-- 
panic("floppy: Port bolixed.");
        linux-2.2.16/include/asm-sparc/floppy.h

Attachment: signature.asc
Description: PGP signature

_______________________________________________
devel mailing list
[email protected]
https://lists.riot-os.org/mailman/listinfo/devel

Reply via email to