Skip to content

File > Examples doesn't follow architecture matching library include priorities #4762

Closed
@per1234

Description

@per1234

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions