Closed
Description
Using Arduino IDE 1.6.9 2016/03/25 02:33 with Windows 7
If there is an IDE bundled library with an architectures
value in library.properties that matches the selected board's architecture and another library of the same name in the sketchbook that doesn't match the architecture then the IDE bundled library has include priority but the sketchbook library's examples are shown in File > Examples.
Here's a more complex real life example of this issue causing an error.
- Tools > Board > Zero
- Sketch > Manage Libraries... > USBHost > Update - this will install the SAM version of USBHost to {sketchbook}/libraries.
- File > Examples > USBHost > ADKTerminalTest - {sketchbook}/libraries/USBHost/examples/ADKTerminalTest/ADKTerminalTest.ino is opened but the SAMD core version of the USBHost library will have include priority because of arduino/arduino-builder@b2f7c72.
- Attempting to compile this sketch for Zero fails.
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Relationships
Development
No branches or pull requests
Activity
facchinm commentedon Apr 5, 2016
Hi @per1234
nice finding, the frontend problem is exposing a very bad behaviour (USBHost APis are not compatible between Due and Zero). Anyway, the issues should also be solved in the frontend side.
I'll try to see what can be done 😄
Filter examples based on contributed libraries by architecture
sandeepmistry commentedon Jul 19, 2016
Closed via #4828.