Program ATMEGA8A-PU or ATMEGA168A-PU with Arduino Uno

Program ATMEGA8A-PU or ATMEGA168A-PU with Arduino Uno
Boards: Atmega8/Atmega168
Arduino -> Preferences -> Additional Boards Manager URLs: 
https://raw.githubusercontent.com/carlosefr/atmega/master/package_carlosefr_atmega_index.json

Tools -> Board: Arduino NG or older

Çesme: 
https://github.com/carlosefr/atmega
https://www.arduino.cc/en/Main/Standalone