Files
tinygo/targets
Ayke van Laethem e107efa63f main: detect specific serial port IDs based on USB vid/pid
This makes it possible to flash a board even when there are multiple
different kinds of boards attached, e.g. an Arduino Uno and a Circuit
Playground Express. You can find the VID/PID pair in several ways:

 1. By running `lsusb` before and after attaching the board and looking
    at the new USB device.
 2. By grepping for `usb_PID` and `usb_VID` in the TinyGo source code.
 3. By checking the Arduino IDE boards.txt from the vendor.

Note that one board may have multiple VID/PID pairs:

  * The bootloader and main program may have a different PID, so far
    I've seen that the main program generally has the bootloader PID
    with 0x8000 added.
  * The software running on the board may have an erroneous PID, for
    example from a different board. I've seen this happen a few times.
  * A single board may have had some revisions which changed the PID.
    This is particularly true for the Arduino Uno.

As a fallback, if the given VID/PID pair isn't found, the whole set of
serial ports will be used.

There are many boards which I haven't included yet simply because I
couldn't test them.
2021-06-19 16:45:56 +02:00
..
2021-04-12 11:03:13 +02:00
2020-06-30 20:48:42 +02:00
2020-06-30 20:48:42 +02:00
2021-04-19 13:14:33 +02:00
2021-02-11 10:50:29 +01:00
2021-02-11 10:50:29 +01:00
2020-09-09 19:17:11 +02:00
2021-03-04 15:46:05 +01:00
2021-03-04 15:46:05 +01:00
2021-01-24 16:46:21 +01:00
2021-04-14 09:17:54 +02:00
2018-10-06 13:04:14 +02:00
2019-11-16 21:57:18 +01:00
2020-10-20 19:13:43 +02:00
2020-10-20 19:13:43 +02:00
2018-10-18 15:07:06 +02:00
2020-12-15 06:51:35 +01:00
2020-07-13 12:35:53 +02:00
2020-02-18 23:34:56 +01:00
2020-02-18 23:34:56 +01:00
2020-02-18 23:34:56 +01:00
2020-02-18 23:34:56 +01:00
2021-03-28 21:38:05 +02:00
2021-03-21 10:00:43 +01:00
2020-03-26 23:03:55 +01:00
2021-04-19 13:14:33 +02:00
2018-09-22 01:51:44 +02:00
2020-12-15 06:51:35 +01:00
2021-03-23 08:33:59 +01:00
2020-07-08 21:58:15 +02:00
2020-11-11 18:34:47 +01:00
2021-04-19 13:14:33 +02:00
2021-04-19 13:14:33 +02:00
2020-11-15 16:19:51 +01:00
2021-04-19 13:14:33 +02:00