From 36513f8362d4ee96ec801728921e4c1e8dc29a3b Mon Sep 17 00:00:00 2001 From: Zach Eveland Date: Wed, 16 Nov 2011 16:38:22 -0500 Subject: Leonardo bootloader now sends iSerial string during enumeration. Seems to satisfy Windows' composite device requirements. --- bootloaders/diskloader/src/Platform.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'bootloaders/diskloader/src/Platform.h') diff --git a/bootloaders/diskloader/src/Platform.h b/bootloaders/diskloader/src/Platform.h index 6acbf39..04c5b79 100644 --- a/bootloaders/diskloader/src/Platform.h +++ b/bootloaders/diskloader/src/Platform.h @@ -24,6 +24,8 @@ typedef unsigned long u32; #define USB_VID 0x2341 // arduino LLC vid #define USB_PID ARDUINO_MODEL_PID // passed in by Makefile - 0x0034 for Leonardo, 0x0035 for MIcro +#define USB_SERIAL_STRING '0','0','0','0','0','0','0','0','1','7','0','1' + #define OEM_NAME 'l','e','o','n','a','r','d','o' // 8 chars #define BOARD_INIT() DDRC |= (1<<7); DDRB |= (1<<0); DDRD |= (1<<5); CPU_PRESCALE(0); DISABLE_JTAG(); #define LED0 PORTC &= ~(1<<7) -- cgit v1.2.3-18-g5258