USB Vendor ID / Product ID donated by pid.codes

pull/18/head
Jesse Vincent 10 years ago
parent 85cb4bbdc4
commit 31949ae8ba

@ -23,10 +23,8 @@ keyboardio.build.variant=model00
model01.name=Keyboardio model01
model01.vid.0=0x2341
model01.pid.0=0x0036
model01.vid.1=0x2341
model01.pid.1=0x8036
model01.vid.0=0x1209
model01.pid.0=0x2301
model01.upload.tool=avrdude
model01.upload.protocol=avr109
model01.upload.maximum_size=28672
@ -46,8 +44,8 @@ model01.bootloader.lock_bits=0x2F
model01.build.mcu=atmega32u4
model01.build.f_cpu=16000000L
model01.build.vid=0x2341
model01.build.pid=0x8036
model01.build.vid=0x1209
model01.build.pid=0x2301
model01.build.usb_product="Keyboardio model01"
model01.build.core=keyboardio
model01.build.variant=model01

@ -193,12 +193,8 @@ const USB_Descriptor_String_t ProductString =
{
.Header = {.Size = USB_STRING_LEN(16), .Type = DTYPE_String},
#if DEVICE_PID == 0x0036
#if DEVICE_PID == 0x2300
.UnicodeString = L"Keyboardio Boot "
#elif DEVICE_PID == 0x0037
.UnicodeString = L"Keyboardio Boot "
#elif DEVICE_PID == 0x003C
.UnicodeString = L"Arduino Esplora "
#else
.UnicodeString = L"USB IO board "
#endif
@ -208,7 +204,7 @@ const USB_Descriptor_String_t ManufNameString =
{
.Header = {.Size = USB_STRING_LEN(11), .Type = DTYPE_String},
#if DEVICE_VID == 0x2341
#if DEVICE_VID == 0x1209
.UnicodeString = L"Keyboardio "
#else
.UnicodeString = L"Unknown "

@ -47,18 +47,14 @@
#----------------------------------------------------------------------------
# USB vendor ID (VID)
# reuse of this VID by others is forbidden by USB-IF
# official Arduino LLC VID
VID = 0x2341
# http://pid.codes/1209/
VID = 0x1209
# USB product ID (PID)
# official Leonardo PID
# PID = 0x0036
# official Micro PID
PID = 0x0036
# official Esplora PID
# PID = 0x003C
# http://pid.codes/1209/2300/
# Keyboardio Model 01 PID
PID = 0x2300
# MCU name
MCU = atmega32u4

Loading…
Cancel
Save