1
0
mirror of https://github.com/arduino/Arduino.git synced 2024-12-01 12:24:14 +01:00

allows use of "myboard.build.pid" in boards.txt

3rd party boards that use sam core can have their own USB product ID that is defined in "boards.txt"
This commit is contained in:
Phil Manofsky 2016-03-14 23:20:46 -04:00
parent 4be3e49172
commit 18250aec57

View File

@ -210,12 +210,12 @@ extern const PinDescription g_APinDescription[] ;
// USB Device
#ifndef USB_VID
#define USB_VID 0x2341 // arduino LLC vid
#define USB_VID 0x2341 // arduino LLC vid
#endif
#define USB_PID_LEONARDO 0x0034
#define USB_PID_MICRO 0x0035
#define USB_PID_DUE 0x003E
#ifndef USB_PID
#define USB_PID 0x003E // arduino Due pid
#endif
#include "USB/USBDesc.h"
#include "USB/USBCore.h"