aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid A. Mellis <d.mellis@arduino.cc>2010-09-24 10:17:01 -0400
committerDavid A. Mellis <d.mellis@arduino.cc>2010-09-24 10:17:01 -0400
commit2055e9ece2926f3aba9b6e30da11be010a2bc78e (patch)
treee8ba9c15fb391051533af759a5769c4cc52d8983
parente511065c6a5ab582733c41041ca5e0e481edb55b (diff)
Adding Arduino Mega 2560 board entry.
-rw-r--r--boards.txt22
1 files changed, 21 insertions, 1 deletions
diff --git a/boards.txt b/boards.txt
index 164e388..0ae40d3 100644
--- a/boards.txt
+++ b/boards.txt
@@ -57,7 +57,27 @@ diecimila.build.core=arduino
##############################################################
-mega.name=Arduino Mega
+mega2560.name=Arduino Mega 2560
+
+mega2560.upload.protocol=stk500v2
+mega2560.upload.maximum_size=258048
+mega2560.upload.speed=115200
+
+mega2560.bootloader.low_fuses=0xFF
+mega2560.bootloader.high_fuses=0xD8
+mega2560.bootloader.extended_fuses=0xFD
+mega2560.bootloader.path=stk500v2
+mega2560.bootloader.file=stk500boot_v2_mega2560.hex
+mega2560.bootloader.unlock_bits=0x3F
+mega2560.bootloader.lock_bits=0x0F
+
+mega2560.build.mcu=atmega2560
+mega2560.build.f_cpu=16000000L
+mega2560.build.core=arduino
+
+##############################################################
+
+mega.name=Arduino Mega (ATmega1280)
mega.upload.protocol=stk500
mega.upload.maximum_size=126976