Minimum System for ATmega8

It's not so easy to use ATmega 8 to build a minimum system of Arduino.So here comes the way.

1.Create a subfolder names breadboard in your arduino hardware directory.It might be /usr/share/arduino/hardware on Linux.

2.Download boards.txt below to breadboard.

3.Now you can just follow this toturial.Be sure you have chosen the Atmega 16MHz option.

boards.txt

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

atmega328bb.name=ATmega328 on a breadboard (8 MHz internal clock)

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

atmega328bb.bootloader.low_fuses=0xE2  
atmega328bb.bootloader.high_fuses=0xDA  
atmega328bb.bootloader.extended_fuses=0x05  
atmega328bb.bootloader.path=arduino:atmega  
atmega328bb.bootloader.file=ATmegaBOOT_168_atmega328_pro_8MHz.hex  
atmega328bb.bootloader.unlock_bits=0x3F  
atmega328bb.bootloader.lock_bits=0x0F

atmega328bb.build.mcu=atmega328p  
atmega328bb.build.f_cpu=8000000L  
atmega328bb.build.core=arduino:arduino  
atmega328bb.build.variant=arduino:standard


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

atmega8.name=ATmega8 on a breadboard (16 MHz clock)

atmega8.upload.protocol=arduino  
atmega8.upload.maximum_size=8192  
atmega8.upload.speed=19200

atmega8.bootloader.low_fuses=0xdf  
atmega8.bootloader.high_fuses=0xcb  
atmega8.bootloader.path=atmega8  
atmega8.bootloader.file=ATmegaBOOT-prod-firmware-2009-11-07.hex  
atmega8.bootloader.unlock_bits=0x3F  
atmega8.bootloader.lock_bits=0x0F

atmega8.build.mcu=atmega8  
atmega8.build.f_cpu=16000000L  
atmega8.build.core=arduino  
atmega8.build.variant=standard


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