Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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

Closed
Milestone
@per1234

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      AltStyle によって変換されたページ (->オリジナル) /