[gnoduino: 205/237] changed Leonardo PID to 0x0032 for Diskloader testing. updated .inf to match.
- From: Lucian Langa <lucilanga src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnoduino: 205/237] changed Leonardo PID to 0x0032 for Diskloader testing. updated .inf to match.
- Date: Sat, 31 Mar 2012 20:32:04 +0000 (UTC)
commit da14af1187d5d2123217c81fd045301a12598c9b
Author: Zach Eveland <zeveland blacklabel-development com>
Date: Mon Oct 31 23:44:32 2011 -0400
changed Leonardo PID to 0x0032 for Diskloader testing. updated .inf to match.
.../bootloaders/diskloader/DiskLoader-Leonardo.hex | 4 ++--
arduino/bootloaders/diskloader/Makefile | 4 ++--
arduino/bootloaders/diskloader/src/Platform.h | 6 +++---
3 files changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/arduino/bootloaders/diskloader/DiskLoader-Leonardo.hex b/arduino/bootloaders/diskloader/DiskLoader-Leonardo.hex
index 0e2c445..434b8bf 100644
--- a/arduino/bootloaders/diskloader/DiskLoader-Leonardo.hex
+++ b/arduino/bootloaders/diskloader/DiskLoader-Leonardo.hex
@@ -19,8 +19,8 @@
:10712000750069006E006F0020004C0065006F0064
:107130006E006100720064006F001803410072006D
:107140006400750069006E006F0020004C004C0068
-:1071500043001201000200000040412334000001FE
-:10716000010200011201000202000040412334002C
+:107150004300120100020000004041233200000100
+:10716000010200011201000202000040412332002E
:1071700000010102000100C180813D3C11241FBEBD
:10718000CFEFDAE0DEBFCDBF11E0A0E0B1E0E6EF87
:10719000FAE702C005900D92A830B107D9F711E0C7
diff --git a/arduino/bootloaders/diskloader/Makefile b/arduino/bootloaders/diskloader/Makefile
index 0ae99e8..8eec350 100644
--- a/arduino/bootloaders/diskloader/Makefile
+++ b/arduino/bootloaders/diskloader/Makefile
@@ -14,9 +14,9 @@ AVR_FREQ = 16000000L
# Specify the Arduino model using the assigned PID. This is used by Descriptors.c
# to set PID and product descriptor string
# Arduino Leonardo PID
-ARDUINO_MODEL_PID = 0x0034
+ARDUINO_MODEL_PID = 0x0032
# Arduino Micro PID
-#ARDUINO_MODEL_PID = 0x0035
+#ARDUINO_MODEL_PID = 0x0033
# Change if your programmer is different
AVRDUDE_PROGRAMMER = avrispmkII
diff --git a/arduino/bootloaders/diskloader/src/Platform.h b/arduino/bootloaders/diskloader/src/Platform.h
index f1194a5..d1f884c 100644
--- a/arduino/bootloaders/diskloader/src/Platform.h
+++ b/arduino/bootloaders/diskloader/src/Platform.h
@@ -25,10 +25,10 @@ typedef unsigned char u8;
typedef unsigned short u16;
typedef unsigned long u32;
-#define USB_PID_LEONARDO 0x0034
-#define USB_PID_MICRO 0x0035
+#define USB_PID_LEONARDO 0x0032
+#define USB_PID_MICRO 0x0033
#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))
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]