mirror of
https://github.com/arduino/Arduino.git
synced 2025-01-31 20:52:13 +01:00
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
This commit is contained in:
parent
3d3bb385ad
commit
1cf34c8250
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user