Skip to content

Commit

Permalink
Add Original add PID 0x0007 - Prusa i3 MK3 Multi Material 2.0 upgrade.
Browse files Browse the repository at this point in the history
  • Loading branch information
mkbel committed Apr 1, 2019
1 parent e59d94c commit 05d45f9
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
10 changes: 8 additions & 2 deletions Descriptors.c
Original file line number Diff line number Diff line change
Expand Up @@ -191,17 +191,23 @@ const USB_Descriptor_String_t LanguageString =
*/
const USB_Descriptor_String_t ProductString =
{
.Header = {.Size = USB_STRING_LEN(48), .Type = DTYPE_String},

#if DEVICE_PID == 0x0003
.Header = {.Size = USB_STRING_LEN(48), .Type = DTYPE_String},
.UnicodeString = L"Original Prusa i3 MK3 Multi Material 2.0 upgrade"
#elif DEVICE_PID == 0x0007
.Header = {.Size = USB_STRING_LEN(31), .Type = DTYPE_String},
.UnicodeString = L"Original Prusa CW1 (bootloader)"
#elif DEVICE_PID == 0x0036
.Header = {.Size = USB_STRING_LEN(16), .Type = DTYPE_String},
.UnicodeString = L"Arduino Leonardo"
#elif DEVICE_PID == 0x0037
.Header = {.Size = USB_STRING_LEN(16), .Type = DTYPE_String},
.UnicodeString = L"Arduino Micro "
#elif DEVICE_PID == 0x003C
.Header = {.Size = USB_STRING_LEN(16), .Type = DTYPE_String},
.UnicodeString = L"Arduino Esplora "
#else
.Header = {.Size = USB_STRING_LEN(16), .Type = DTYPE_String},
.UnicodeString = L"USB IO board "
#endif
};
Expand Down
4 changes: 3 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,9 @@ VID = 0x2c99
# official "i3 MK3"
#PID = 0x0002
# official "i3 MK3 MMU 2.0"
PID = 0x0003
#PID = 0x0003
# official "Original Prusa CW1 (bootloader)"
PID = 0x0007

# MCU name
MCU = atmega32u4
Expand Down

0 comments on commit 05d45f9

Please sign in to comment.