[gnoduino: 109/237] added Micro section to boards.txt. specified different bootloader hex files for Leonardo and Micro
- From: Lucian Langa <lucilanga src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnoduino: 109/237] added Micro section to boards.txt. specified different bootloader hex files for Leonardo and Micro
- Date: Sat, 31 Mar 2012 20:23:59 +0000 (UTC)
commit 9c58eadba593ec21d3b800ef2eeec4c17c0e9833
Author: Zach Eveland <zeveland blacklabel-development com>
Date: Thu Sep 8 11:00:40 2011 -0400
added Micro section to boards.txt. specified different bootloader hex files for Leonardo and Micro (differ only by PID). added PID entries to boards.txt
arduino/boards.txt | 22 +++++++++++++++++++-
.../{DiskLoader.hex => DiskLoader-Leonardo.hex} | 4 +-
.../{DiskLoader.hex => DiskLoader-Micro.hex} | 4 +-
3 files changed, 25 insertions(+), 5 deletions(-)
---
diff --git a/arduino/boards.txt b/arduino/boards.txt
index 10a74f1..92c621b 100644
--- a/arduino/boards.txt
+++ b/arduino/boards.txt
@@ -8,13 +8,33 @@ leonardo.bootloader.low_fuses=0xde
leonardo.bootloader.high_fuses=0xd8
leonardo.bootloader.extended_fuses=0xf3
leonardo.bootloader.path=diskloader
-leonardo.bootloader.file=DiskLoader.hex
+leonardo.bootloader.file=DiskLoader-Leonardo.hex
leonardo.bootloader.unlock_bits=0x3F
leonardo.bootloader.lock_bits=0x0F
leonardo.build.mcu=atmega32u4
leonardo.build.f_cpu=16000000L
leonardo.build.core=arduino
leonardo.build.variant=leonardo
+leonardo.usb.pid=0x0034
+
+##############################################################
+
+micro.name=Arduino Micro
+micro.upload.protocol=arduino
+micro.upload.maximum_size=30720
+micro.upload.speed=1200
+micro.bootloader.low_fuses=0xde
+micro.bootloader.high_fuses=0xd8
+micro.bootloader.extended_fuses=0xf3
+micro.bootloader.path=diskloader
+micro.bootloader.file=DiskLoader-Micro.hex
+micro.bootloader.unlock_bits=0x3F
+micro.bootloader.lock_bits=0x0F
+micro.build.mcu=atmega32u4
+micro.build.f_cpu=16000000L
+micro.build.core=arduino
+micro.build.variant=leonardo
+micro.usb.pid=0x0035
##############################################################
diff --git a/arduino/bootloaders/diskloader/DiskLoader.hex b/arduino/bootloaders/diskloader/DiskLoader-Leonardo.hex
similarity index 95%
copy from arduino/bootloaders/diskloader/DiskLoader.hex
copy to arduino/bootloaders/diskloader/DiskLoader-Leonardo.hex
index 7ca0c74..dfcd4fe 100644
--- a/arduino/bootloaders/diskloader/DiskLoader.hex
+++ b/arduino/bootloaders/diskloader/DiskLoader-Leonardo.hex
@@ -3,8 +3,8 @@
:1078200087020110030000C18081C106C0FF0A0069
:107830000CA10185037508150026FF00954009017C
:107840008102954009029102C0040309041201005B
-:107850000202000040412334000001000001011237
-:10786000010002000000404123340000010000013B
+:107850000202000040412335000001000001011236
+:10786000010002000000404123350000010000013A
:1078700001090264000301008032080B00020202C9
:1078800001000904000001020200000524001001AB
:107890000524010101042402020524060001070554
diff --git a/arduino/bootloaders/diskloader/DiskLoader.hex b/arduino/bootloaders/diskloader/DiskLoader-Micro.hex
similarity index 95%
rename from arduino/bootloaders/diskloader/DiskLoader.hex
rename to arduino/bootloaders/diskloader/DiskLoader-Micro.hex
index 7ca0c74..dfcd4fe 100644
--- a/arduino/bootloaders/diskloader/DiskLoader.hex
+++ b/arduino/bootloaders/diskloader/DiskLoader-Micro.hex
@@ -3,8 +3,8 @@
:1078200087020110030000C18081C106C0FF0A0069
:107830000CA10185037508150026FF00954009017C
:107840008102954009029102C0040309041201005B
-:107850000202000040412334000001000001011237
-:10786000010002000000404123340000010000013B
+:107850000202000040412335000001000001011236
+:10786000010002000000404123350000010000013A
:1078700001090264000301008032080B00020202C9
:1078800001000904000001020200000524001001AB
:107890000524010101042402020524060001070554
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]