All
edit the incompatibility is fixed in 1.1.0
If you are using the eclipse plugin please do not yet upgrade to Arduino 1.0 lightly
There is more work than renaming wProgram.h. Basically the new approach for handling pins_arduino.h is not easily solved.
The problem is that currently in eclipse there is a project per MCU type. However there are MCU's that have 2 different pins_arduino.h. See below an extract from boards.txt
##############################################################
diecimila.name=Arduino Diecimila or Duemilanove w/ ATmega168
diecimila.build.mcu=atmega168
diecimila.build.variant=standard
##############################################################
nano.name=Arduino Nano w/ ATmega168
nano.build.mcu=atmega168
nano.build.variant=eightanaloginputs
Therefore I will need to create a project per Arduino board type and link in the correct pins_arduino.h. This will cost some time because I need to learn some new (to me) eclipse functionality and because I'm pretty be bussy till end of next week.
If you do not have boards with a different pin layout and the same MCU a dummy's work around can be done as follows:
Change "WProgram.h" to "arduino.h"
Use import library to import the folder containing the correct pins_arduino.h (see that in the board.txt file) in your project and in the mcu project.
If you have boards with a different pin layout and the same MCU a work around can be done as follows:
Create eclipse environment to separate the boards and use the above work around.
If you know a link on how to create environment variables in Eclipse that can be used to define eclipse includes like the "AVRTARGETMCU" I'm currently using. Send it to me please.
If you think there is a better way please let me know
Best regards
Jantje