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

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

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

Loading…
Cancel
Save