Modifying the arduino IDE for 20MHz

From BitWizard WIKI
Jump to: navigation, search

Modifying the arduino IDE for 20MHz

Moogle writes:

open up boards.txt and add the following to the top

   ##############################################################

   pro328_20.name=Arduino pro 328 20mhz

   pro328_20.upload.protocol=stk500
   pro328_20.upload.maximum_size=30720
   pro328_20.upload.speed=57600

   pro328_20.bootloader.low_fuses=0xFF
   pro328_20.bootloader.high_fuses=0xDA
   pro328_20.bootloader.extended_fuses=0×05
   pro328_20.bootloader.path=atmega
   pro328_20.bootloader.file=ATmegaBOOT_168_atmega328_20.hex
   pro328_20.bootloader.unlock_bits=0x3F
   pro328_20.bootloader.lock_bits=0x0F

   pro328_20.build.mcu=atmega328p
   pro328_20.build.f_cpu=20000000L
   pro328_20.build.core=arduino

From: http://wtfmoogle.com/?p=1381

The bootloader also needs modification to run at