While trying to get the mirf libs working for the attiny84, I notice the differences between attiny85 and attiny84..
All the attiny85 PB0-PB4 maps directly to Arduino digital pins and pinMode(), digitalWrite() will work whereas for the attiny84, the PA4-PA7 maps counter clockwise to the Arduino Digital pins and the SPI was not working (obviously...)
From the Arduino-tiny core, pins_arduino.c have the following pin mappings..
MISO , PA5 , maps to D5 MOSI, PA6, maps to D4 SCK, PA4, maps to D6 SS, PA7, maps to D3
How do I fix this in the header files to get the correct mapping for Arduino ??