Hola,
tenía un sketch para usar un attiny85 para ahorrar energía en modo watchdog; lo compilaba en arduino-002 .
Ahora he intentado compilarlo con arduimo-1.0.5, y me ha dado un montón de errores que los copio al final.
Buscando en la red, encontré la solución, que consiste en añadir un fichero llamado "Arduino.h" dentro de cores/tiny/ y que contenga el texto
#include <WProgram.h>
Desaparecieron los errores.
Lo pongo por si le sirve a alguien.
error: Arduino.h: No such file or directory
error: 'boolean' does not name a type
error: 'byte' was not declared in this scope
error: 'OUTPUT' was not declared in this scope
error: 'pinMode' was not declared in this scope
error: 'INPUT' was not declared in this scope
error: 'HIGH' was not declared in this scope
error: 'digitalWrite' was not declared in this scope
error: 'delay' was not declared in this scope
error: 'millis' was not declared in this scope
error: 'digitalRead' was not declared in this scope
error: 'LOW' was not declared in this scope
error: 'INPUT' was not declared in this scope
error: 'pinMode' was not declared in this scope
error: 'f_wdt' was not declared in this scope
error: 'OUTPUT' was not declared in this scope
error: 'HIGH' was not declared in this scope
error: 'digitalWrite' was not declared in this scope
error: 'delay' was not declared in this scope
error: 'millis' was not declared in this scope
error: 'digitalRead' was not declared in this scope
error: 'LOW' was not declared in this scope