Hi all,
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)?
Thanks,
Sugang
Hi all,
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)?
Thanks,
Sugang
Hi Sugang,
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