Skip to content

Commit c8f495b

Browse files
committed
changed Leonardo PID to 0x0032 for Diskloader testing. updated .inf to match.
1 parent 76ed870 commit c8f495b

File tree

4 files changed

+9
-7
lines changed

4 files changed

+9
-7
lines changed

build/windows/dist/drivers/Arduino Leonardo.inf

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,9 +86,11 @@ ServiceBinary=%12%\%DRIVERFILENAME%.sys
8686
[SourceDisksFiles]
8787
[SourceDisksNames]
8888
[DeviceList]
89+
%DESCRIPTION%=DriverInstall, USB\VID_2341&PID_0032
8990
%DESCRIPTION%=DriverInstall, USB\VID_2341&PID_0034&MI_00
9091

9192
[DeviceList.NTamd64]
93+
%DESCRIPTION%=DriverInstall, USB\VID_2341&PID_0032
9294
%DESCRIPTION%=DriverInstall, USB\VID_2341&PID_0034&MI_00
9395

9496

hardware/arduino/bootloaders/diskloader/DiskLoader-Leonardo.hex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@
1919
:10712000750069006E006F0020004C0065006F0064
2020
:107130006E006100720064006F001803410072006D
2121
:107140006400750069006E006F0020004C004C0068
22-
:1071500043001201000200000040412334000001FE
23-
:10716000010200011201000202000040412334002C
22+
:107150004300120100020000004041233200000100
23+
:10716000010200011201000202000040412332002E
2424
:1071700000010102000100C180813D3C11241FBEBD
2525
:10718000CFEFDAE0DEBFCDBF11E0A0E0B1E0E6EF87
2626
:10719000FAE702C005900D92A830B107D9F711E0C7

hardware/arduino/bootloaders/diskloader/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ AVR_FREQ = 16000000L
1414
# Specify the Arduino model using the assigned PID. This is used by Descriptors.c
1515
# to set PID and product descriptor string
1616
# Arduino Leonardo PID
17-
ARDUINO_MODEL_PID = 0x0034
17+
ARDUINO_MODEL_PID = 0x0032
1818
# Arduino Micro PID
19-
#ARDUINO_MODEL_PID = 0x0035
19+
#ARDUINO_MODEL_PID = 0x0033
2020

2121
# Change if your programmer is different
2222
AVRDUDE_PROGRAMMER = avrispmkII

hardware/arduino/bootloaders/diskloader/src/Platform.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@ typedef unsigned char u8;
2525
typedef unsigned short u16;
2626
typedef unsigned long u32;
2727

28-
#define USB_PID_LEONARDO 0x0034
29-
#define USB_PID_MICRO 0x0035
28+
#define USB_PID_LEONARDO 0x0032
29+
#define USB_PID_MICRO 0x0033
3030
#define USB_VID 0x2341 // arduino LLC vid
31-
#define USB_PID ARDUINO_MODEL_PID // passed in by Makefile - 0x0034 for Leonardo, 0x0035 for MIcro
31+
#define USB_PID ARDUINO_MODEL_PID // passed in by Makefile - 0x0032 for Leonardo, 0x0033 for Micro
3232

3333
#define min(a,b) ((a)<(b)?(a):(b))
3434

0 commit comments

Comments
 (0)