mirror of https://github.com/noisymime/Arduino.git
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:
parent
4be3e49172
commit
18250aec57
|
@ -210,12 +210,12 @@ extern const PinDescription g_APinDescription[] ;
|
||||||
|
|
||||||
// USB Device
|
// USB Device
|
||||||
#ifndef USB_VID
|
#ifndef USB_VID
|
||||||
#define USB_VID 0x2341 // arduino LLC vid
|
#define USB_VID 0x2341 // arduino LLC vid
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define USB_PID_LEONARDO 0x0034
|
#ifndef USB_PID
|
||||||
#define USB_PID_MICRO 0x0035
|
#define USB_PID 0x003E // arduino Due pid
|
||||||
#define USB_PID_DUE 0x003E
|
#endif
|
||||||
|
|
||||||
#include "USB/USBDesc.h"
|
#include "USB/USBDesc.h"
|
||||||
#include "USB/USBCore.h"
|
#include "USB/USBCore.h"
|
||||||
|
|
Loading…
Reference in New Issue