Question for C: is there an official #define that distinguishes the Due/Arm build from the AVR builds?
The new IDE 1.5 has 'fat' libraries support: libraries that contains code to run on more than one microcontroller architecture. The advantages of having a 'fat' library are clear:- The IDE will automatically lists the available libraries based on the architecture of the currently selected board- The same library can have multiple architecture inside => you don't have to install a different version of the same library for every architecture.
We also tried to introduce an auto-detection mechanism that takes apart non-fat libraries from fat libraries. This mechanism didn't worked as expected because we assumed that library writers would only use 'examples' and 'utility' folder. This is a clearly wrong assumption, and the patch i have just pushed on the repository fixes this problem.
I'll invite you all to check if the patch will fix the issues you are having.https://github.com/arduino/Arduino/tree/ide-1.5.x
Please enter a valid email to subscribe
We need to confirm your email address.
To complete the subscription, please click the link in the
email we just sent you.
Thank you for subscribing!
via Egeo 16