mirror of
https://github.com/arduino/Arduino.git
synced 2025-01-18 07:52:14 +01:00
allows use of "myboard.build.vid" in boards.txt
allows people to create board that depends on sam core to use their own Vendor ID instead of Arduino's
This commit is contained in:
parent
afaea11368
commit
f5282f2ce6
@ -209,10 +209,14 @@ extern const PinDescription g_APinDescription[] ;
|
|||||||
#include "watchdog.h"
|
#include "watchdog.h"
|
||||||
|
|
||||||
// USB Device
|
// 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_LEONARDO 0x0034
|
||||||
#define USB_PID_MICRO 0x0035
|
#define USB_PID_MICRO 0x0035
|
||||||
#define USB_PID_DUE 0x003E
|
#define USB_PID_DUE 0x003E
|
||||||
|
|
||||||
#include "USB/USBDesc.h"
|
#include "USB/USBDesc.h"
|
||||||
#include "USB/USBCore.h"
|
#include "USB/USBCore.h"
|
||||||
#include "USB/USBAPI.h"
|
#include "USB/USBAPI.h"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user