Defining custom programmer

Hello!
I am using Arduino ISP sketch to ptogram ATtiny.
Another topic suggested I have to define a custom programmer for that.
Create programmers.txt in hardware subfolder of your sketchbook, they said. Would be fun, they said.
The problem is, whenever I edit programmers.txt in my sketchbook, or editing programmers.txt in Arduino IDE katalog, neither changes a list of programmers available in IDE.
Am I doing something wrong here or Arduino IDE 1.8.2 defines its programmers somewhere else?
PLS ELP!

azgar:
Another topic suggested I have to define a custom programmer for that.

Post a link to the topic. Please use the chain links icon on the toolbar when you post links to make them clickable.

azgar:
Create programmers.txt in hardware subfolder of your sketchbook

programmers.txt has to be in a hardware package, which may be located in the hardware subfolder but you can't just throw the file directly into the hardware folder.

azgar:
editing programmers.txt in Arduino IDE katalog, neither changes a list of programmers available in IDE.
Am I doing something wrong here or Arduino IDE 1.8.2 defines its programmers somewhere else?

If you've updated Arduino AVR Boards using Boards Manager then the version included with the Arduino IDE is not used and thus editing any files in that location will have no effect. To find the location of the active package you can do this:

  • Tools > Board > Arduino/Genuino Uno
  • File > Examples > SPI > BarometricPressureSensor
  • Sketch > Show Sketch Folder
  • Move up folder levels until you reach the one that contains programmers.txt

After editing the file you should restart the Arduino IDE.

pert:
Post a link to the topic.

The post is Arduino Micro as ISP and atTiny84A - IDE 1.x - Arduino Forum.

If you've updated Arduino AVR Boards using Boards Manager then the version included with the Arduino IDE is not used and thus editing any files in that location will have no effect.

That's sad. I mean shifting a base of drop-in folder without notice... seems not to be good practice.

To find the location of the active package you can do this:

Thank you very much. I was really getting frustrated :slight_smile:

Though this problem got solved, I still cannot reach the programmer. Could you please reply to original post?
Thanks.