I'm trying to use Arduino 1.6.5 to program Attiny84 as SPI slave. I could upload a blink sketch following tutorial on http://highlowtech.org/?p=1695. I found a library to use Attiny84 as SPI master (GitHub - JChristensen/tinySPI: Arduino hardware SPI library for ATtiny44/84, 45/85, 461/861, 2313/4313.). I found two old threads on this topic which don't work with Arduino 1.6.5:
Using an ATtiny85 as SPI Slave - Microcontrollers - Arduino Forum
SPI ATMega (master) - ATTiny84 (slave) Problem reading data from slave - Microcontrollers - Arduino Forum
However after hours of search, I found no tutorial or library to program Attiny84 or Attiny85 as SPI slave with Arduino 1.6.
Any help would be greatly appreciated.