I tried to compile using this and got the following errors on Arduino 1.0.1 on Mac OSX ML..
/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/bin/../lib/gcc/avr/4.3.2/../../../../avr/lib/avr25/crttn85.o:(.init9+0x2): relocation truncated to fit: R_AVR_13_PCREL against symbol `exit' defined in .fini9 section in /Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/bin/../lib/gcc/avr/4.3.2/avr25/libgcc.a(_exit.o)
My code was working OK and I only added the following lines only, without those lines, everything was working fine and compile/upload is okay...
I'm using USBtinyISP to burn the hex into the attiny85...
I just want to have DebugSerial ONLY...
#include <TinyDebugSerial.h>
TinyDebugSerial mySerial = TinyDebugSerial(); // PB3 on tiny85 = TX pin
// In setup()
mySerial.begin( 9600 ); // for tiny_debug_serial
// in the main loop()
mySerial.println("Testing TX from attiny85... ");