diff options
author | Zach Eveland <zeveland@blacklabel-development.com> | 2011-11-16 16:38:22 -0500 |
---|---|---|
committer | Zach Eveland <zeveland@blacklabel-development.com> | 2011-11-16 16:38:22 -0500 |
commit | 36513f8362d4ee96ec801728921e4c1e8dc29a3b (patch) | |
tree | eeaf06289d506318e9354c4bc97ad2b03df54735 /bootloaders/diskloader/src/Platform.h | |
parent | ed336f1b68cd537965c1294a3402769688a686ab (diff) |
Leonardo bootloader now sends iSerial string during enumeration. Seems to satisfy Windows' composite device requirements.
Diffstat (limited to 'bootloaders/diskloader/src/Platform.h')
-rw-r--r-- | bootloaders/diskloader/src/Platform.h | 2 |
1 files changed, 2 insertions, 0 deletions
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) |