From 1b14cc07331268e95eddcce2cc67e29ed667e62f Mon Sep 17 00:00:00 2001 From: Martino Facchin Date: Mon, 19 Feb 2018 12:13:03 +0100 Subject: Add menu for Nano with Optiboot bootloader Since we are now factory flashing obtiboot, 115200 is the new default upload speed. Adding a new entry to CPU menu is more explicit than adding an "upload speed" menu, and the bootloader path can be updated too. Fixes https://github.com/arduino/Arduino/issues/4492 --- boards.txt | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/boards.txt b/boards.txt index 77a062e..e2f3707 100644 --- a/boards.txt +++ b/boards.txt @@ -144,15 +144,30 @@ nano.menu.cpu.atmega328=ATmega328P nano.menu.cpu.atmega328.upload.maximum_size=30720 nano.menu.cpu.atmega328.upload.maximum_data_size=2048 -nano.menu.cpu.atmega328.upload.speed=57600 +nano.menu.cpu.atmega328.upload.speed=115200 nano.menu.cpu.atmega328.bootloader.low_fuses=0xFF nano.menu.cpu.atmega328.bootloader.high_fuses=0xDA nano.menu.cpu.atmega328.bootloader.extended_fuses=0xFD -nano.menu.cpu.atmega328.bootloader.file=atmega/ATmegaBOOT_168_atmega328.hex +nano.menu.cpu.atmega328.bootloader.file=optiboot/optiboot_atmega328.hex nano.menu.cpu.atmega328.build.mcu=atmega328p +## Arduino Nano w/ ATmega328P (old bootloader) +## -------------------------- +nano.menu.cpu.atmega328old=ATmega328P (Old Bootloader) + +nano.menu.cpu.atmega328old.upload.maximum_size=30720 +nano.menu.cpu.atmega328old.upload.maximum_data_size=2048 +nano.menu.cpu.atmega328old.upload.speed=57600 + +nano.menu.cpu.atmega328old.bootloader.low_fuses=0xFF +nano.menu.cpu.atmega328old.bootloader.high_fuses=0xDA +nano.menu.cpu.atmega328old.bootloader.extended_fuses=0xFD +nano.menu.cpu.atmega328old.bootloader.file=atmega/ATmegaBOOT_168_atmega328.hex + +nano.menu.cpu.atmega328old.build.mcu=atmega328p + ## Arduino Nano w/ ATmega168 ## ------------------------- nano.menu.cpu.atmega168=ATmega168 -- cgit v1.2.3-18-g5258