I use my Arduino IDE to either upload my sketch to a Arduino or ATTiny or ATmega328. As you know each device can have a different pinout. Does the Arduino compiler support ifdef, depending on the board I am connected to?
For example
#ifdef Attiny85
a=0; b=1; c=2;
#else
// arduino
a=9; b=10; c=11;
#endif
Arduino.h,__AVR_ATtiny85__is used (capitalT). Not sure if it makes any difference though. – geometrikal Sep 13 '14 at 12:52