mirror of
https://github.com/arduino/Arduino.git
synced 2025-01-18 07:52:14 +01:00
changed Leonardo PID to 0x0032 for Diskloader testing. updated .inf to match.
This commit is contained in:
parent
76ed870de8
commit
c8f495ba7f
@ -86,9 +86,11 @@ ServiceBinary=%12%\%DRIVERFILENAME%.sys
|
|||||||
[SourceDisksFiles]
|
[SourceDisksFiles]
|
||||||
[SourceDisksNames]
|
[SourceDisksNames]
|
||||||
[DeviceList]
|
[DeviceList]
|
||||||
|
%DESCRIPTION%=DriverInstall, USB\VID_2341&PID_0032
|
||||||
%DESCRIPTION%=DriverInstall, USB\VID_2341&PID_0034&MI_00
|
%DESCRIPTION%=DriverInstall, USB\VID_2341&PID_0034&MI_00
|
||||||
|
|
||||||
[DeviceList.NTamd64]
|
[DeviceList.NTamd64]
|
||||||
|
%DESCRIPTION%=DriverInstall, USB\VID_2341&PID_0032
|
||||||
%DESCRIPTION%=DriverInstall, USB\VID_2341&PID_0034&MI_00
|
%DESCRIPTION%=DriverInstall, USB\VID_2341&PID_0034&MI_00
|
||||||
|
|
||||||
|
|
||||||
|
@ -19,8 +19,8 @@
|
|||||||
:10712000750069006E006F0020004C0065006F0064
|
:10712000750069006E006F0020004C0065006F0064
|
||||||
:107130006E006100720064006F001803410072006D
|
:107130006E006100720064006F001803410072006D
|
||||||
:107140006400750069006E006F0020004C004C0068
|
:107140006400750069006E006F0020004C004C0068
|
||||||
:1071500043001201000200000040412334000001FE
|
:107150004300120100020000004041233200000100
|
||||||
:10716000010200011201000202000040412334002C
|
:10716000010200011201000202000040412332002E
|
||||||
:1071700000010102000100C180813D3C11241FBEBD
|
:1071700000010102000100C180813D3C11241FBEBD
|
||||||
:10718000CFEFDAE0DEBFCDBF11E0A0E0B1E0E6EF87
|
:10718000CFEFDAE0DEBFCDBF11E0A0E0B1E0E6EF87
|
||||||
:10719000FAE702C005900D92A830B107D9F711E0C7
|
:10719000FAE702C005900D92A830B107D9F711E0C7
|
||||||
|
@ -14,9 +14,9 @@ AVR_FREQ = 16000000L
|
|||||||
# Specify the Arduino model using the assigned PID. This is used by Descriptors.c
|
# Specify the Arduino model using the assigned PID. This is used by Descriptors.c
|
||||||
# to set PID and product descriptor string
|
# to set PID and product descriptor string
|
||||||
# Arduino Leonardo PID
|
# Arduino Leonardo PID
|
||||||
ARDUINO_MODEL_PID = 0x0034
|
ARDUINO_MODEL_PID = 0x0032
|
||||||
# Arduino Micro PID
|
# Arduino Micro PID
|
||||||
#ARDUINO_MODEL_PID = 0x0035
|
#ARDUINO_MODEL_PID = 0x0033
|
||||||
|
|
||||||
# Change if your programmer is different
|
# Change if your programmer is different
|
||||||
AVRDUDE_PROGRAMMER = avrispmkII
|
AVRDUDE_PROGRAMMER = avrispmkII
|
||||||
|
@ -25,10 +25,10 @@ typedef unsigned char u8;
|
|||||||
typedef unsigned short u16;
|
typedef unsigned short u16;
|
||||||
typedef unsigned long u32;
|
typedef unsigned long u32;
|
||||||
|
|
||||||
#define USB_PID_LEONARDO 0x0034
|
#define USB_PID_LEONARDO 0x0032
|
||||||
#define USB_PID_MICRO 0x0035
|
#define USB_PID_MICRO 0x0033
|
||||||
#define USB_VID 0x2341 // arduino LLC vid
|
#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_PID ARDUINO_MODEL_PID // passed in by Makefile - 0x0032 for Leonardo, 0x0033 for Micro
|
||||||
|
|
||||||
#define min(a,b) ((a)<(b)?(a):(b))
|
#define min(a,b) ((a)<(b)?(a):(b))
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user