I was trying to upload the blink sketch to an ATtiny 85 but it gives me this error:
Sketch uses 682 bytes (8%) of program storage space. Maximum is 8192 bytes.
Global variables use 9 bytes (1%) of dynamic memory, leaving 503 bytes for local variables. Maximum is 512 bytes.
A programmer is required to upload
I am sure I have done everything properly ( Board:ATtiny25/45/85,clock: internal8Mhz,Programmer : Arduino as ISP )
Hi @project_sam. When uploading to the boards that don't have a bootloader, such as the "ATtiny85/45/25" board you have selected, the "attiny" boards platform uses a feature of the Arduino platform system that causes clicking the "upload" button to trigger an "Upload Using Programmer" operation instead of the normal "Upload" operation.
Unfortunately, support for that feature has not yet been added to Arduino IDE:
The workaround is to simply select Sketch > Upload Using Programmer from the Arduino IDE menus when uploading to your ATTiny85 instead of clicking the "Upload" button as you would usually do.