Skip to content

[skip changelog] Make library location priority documentation more relevant to Arduino CLI #732

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 10, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion docs/sketch-build-process.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,10 +73,11 @@ The folder name contains the include | `AnAwesomeServoForWhatever`

The "location priority" is determined as follows (in order of highest to lowest priority):

1. The library is in the sketchbook (`{sketchbook path}/libraries`)
1. The library is in the `libraries` subfolder of the IDE's sketchbook or Arduino CLI's user directory
1. The library is bundled with the board platform/core ([`{runtime.platform.path}/libraries`](platform-specification.md#global-predefined-properties))
1. The library is bundled with the [referenced](platform-specification.md#referencing-another-core-variant-or-tool) board platform/core
1. The library is bundled with the Arduino IDE ([`{runtime.ide.path}/libraries`](platform-specification.md#global-predefined-properties))
- This location is only used by Arduino CLI when it's located in the Arduino IDE installation folder

## Compilation

Expand Down