Difference between revisions of "Modifying the arduino IDE for 20MHz"

From BitWizard Wiki
Jump to navigation Jump to search
(Created page with " = Modifying the arduino IDE for 20MHz = Moogle writes: open up boards.txt and add the following to the top ###########################################################...")
 
 
Line 7: Line 7:


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

pro328_20.name=Arduino pro 328 20mhz
pro328_20.name=Arduino pro 328 20mhz

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

pro328_20.bootloader.low_fuses=0xFF
pro328_20.bootloader.low_fuses=0xFF
pro328_20.bootloader.high_fuses=0xDA
pro328_20.bootloader.high_fuses=0xDA
Line 21: Line 21:
pro328_20.bootloader.unlock_bits=0x3F
pro328_20.bootloader.unlock_bits=0x3F
pro328_20.bootloader.lock_bits=0x0F
pro328_20.bootloader.lock_bits=0x0F

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

Latest revision as of 10:25, 10 March 2012

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