I don't consider myself old but I have some decades of experiance in programming C/C++ myself; so I know what you are talking about.I always had mixed feelings about not supporting multiple configurations. Now with he potential of debugging on the DUE this may become harder.Point is however that the configuration in Arduino 1.5.X is done in 2 files ( boards.txt platform.txt) external to Eclipse. This is why I removed nearly all compiling options in V2. My current thinking is that if you want multiple configurations you have to modify the boards.txt file. I currently see 2 options1) adding a menu option for debug2) adding a debug board (uno debug; mega debug ....)Both are very easy to implement and supported by Arduino IDE and my Arduino eclipse plugin V2.Do you think this can help you out?

Adding extra boards, and having them assignable per build configuration is probably the best way that fits in with your current model, and is easy to work with to changwe the build options in the boards.txt file then. I like it - neat and easily kept simple.

I hope you can pinpoint the Due upload problem you are experiencing. (I see nothing glaringly wrong in the info)Best regardsJantje

I solved it (Well, pinpointed the problem and come up with a workaround until I get time to spend more time poking the linker)

The problem arose again for me when in a different project attempting to allocate some memory with malloc(), and anything with a new operator (obviously the same thing really) and a couple of other times in object constructors.

With the malloc problem, it was easier to debug, as I got more information out of it. _sbrk (the underlying memory allocation call) was not linkable.

Basically, although syscalls_sam3.c (the syscall stub for the M3) was being compiled correctly and then linked correcly into the audino.ar archive ( a quick dump shows the relevent objects there), the final link step was not finding any symbol from this file to link into the image. The inclusion of the linker option "-Wl,--warn-unresolved-symbols" meaning that the action didn't error, yet built a seemingly valid image, which it would happily upload to a due and cause it to do, well, nothing!

So after swearing at whoever thought that option was a good idea I spent some time looking at the audiono.ar file and the linker. I couldn;t find any obvious issue as to why it won;t link, but when I get some time I will do more work on that. It's a long, lng time since I've had to take apart linker dumps... it will be "fun"

So as a workaround, if you link the syscalls_sam3.c file directly into your project using import, then it will force it to be included on the link line as a single object in addition to the auduino.ar file (reflecting the command line I used to finally make it all work), then it links correctly and all works fine. (Any conflict is avoided by the fact that the linker denies the existance of those symbols in the archive).

So, until I have time to pull the linker apart and find out exactly what's happening, this is an effective workaround whenever anything uses calls in syscalls.h, most obvious being any memory allocation.

String Value = MakeEnvironmentString(Var[1].replace("\"{build.path}/syscalls_sam3.c.o\"", "")); // /TOFIX No more need for the verbose log output.As I'm working on multiple configurations right now I can not quickly release a new version. Next version will contain the fix.Best regardsJantje

Do not PM me a question unless you are prepared to pay for consultancy.Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -

Just installed the plugin version 1.2.4 (tried 1.2.0, but it failed with errors about not being able to find things at the site).I have Arduino Vers-1.5.2.. and Eclipse Juno.. all running on Win8...

When I try to configure the Arduino plugin settings, I get an error on the Paths.."Arduino folder is not correct"

I have the Arduino IDE Path set to the location of the arduino.exe file..I have the Private Library set to the arduino-1.5.2\lib directory..(I have also tried setting it to the \libraries directory with no changes in the result)

I am not behind a firewall (I am using a WiFi at my relatives place today.. don't really know firewall status, and they probably don't either, but it appears not

The errors I received when trying to have Eclipse install the most current version (1.2.2 - didn't write it down, so not clear on version) .. the errors were related to not being able find files at the site...