1
0
mirror of https://github.com/arduino/Arduino.git synced 2024-12-01 12:24:14 +01:00

Small fixes to avr/boards.txt:

- adjusted Mega board name
- moved pid/vid to the proper place
- defined default build.board prop (so the IDE stops warning about that)

See #1605
This commit is contained in:
Cristian Maglie 2013-10-09 16:55:47 +02:00
parent 058ee205ba
commit be58b435fb
2 changed files with 9 additions and 6 deletions

View File

@ -16,6 +16,7 @@ ARDUINO 1.5.5 BETA
(http://www.djerickson.com/arduino/) (http://www.djerickson.com/arduino/)
* avr: Fixed wrong extended fuses on Arduino Yún when using external programmer * avr: Fixed wrong extended fuses on Arduino Yún when using external programmer
* avr: Added yun variant with LED_BUILTIN definition * avr: Added yun variant with LED_BUILTIN definition
* avr: Refactored Mega* variants definitions in boards.txt (Kristian Sloth Lauszus)
ARDUINO 1.5.4 BETA 2013.09.10 ARDUINO 1.5.4 BETA 2013.09.10

View File

@ -156,7 +156,12 @@ nano.menu.cpu.atmega168.build.mcu=atmega168
############################################################## ##############################################################
mega.name=Arduino Mega mega.name=Arduino Mega or Mega 2560
mega.vid.0=0x2341
mega.pid.0=0x0010
mega.vid.1=0x2341
mega.pid.1=0x0042
mega.upload.tool=avrdude mega.upload.tool=avrdude
mega.upload.maximum_data_size=8192 mega.upload.maximum_data_size=8192
@ -169,16 +174,13 @@ mega.bootloader.lock_bits=0x0F
mega.build.f_cpu=16000000L mega.build.f_cpu=16000000L
mega.build.core=arduino mega.build.core=arduino
mega.build.variant=mega mega.build.variant=mega
# default board may be overridden by the cpu menu
mega.build.board=AVR_MEGA2560
## Arduino Mega w/ ATmega2560 ## Arduino Mega w/ ATmega2560
## ------------------------- ## -------------------------
mega.menu.cpu.atmega2560=ATmega2560 (Mega 2560) mega.menu.cpu.atmega2560=ATmega2560 (Mega 2560)
mega.menu.cpu.atmega2560.vid.0=0x2341
mega.menu.cpu.atmega2560.pid.0=0x0010
mega.menu.cpu.atmega2560.vid.1=0x2341
mega.menu.cpu.atmega2560.pid.1=0x0042
mega.menu.cpu.atmega2560.upload.protocol=wiring mega.menu.cpu.atmega2560.upload.protocol=wiring
mega.menu.cpu.atmega2560.upload.maximum_size=258048 mega.menu.cpu.atmega2560.upload.maximum_size=258048
mega.menu.cpu.atmega2560.upload.speed=115200 mega.menu.cpu.atmega2560.upload.speed=115200