Skip to content

Commit 472dfec

Browse files
per1234umbynos
authored andcommitted
[skip changelog] Make library location priority documentation more relevant to Arduino CLI (#732)
This section of the documentation was written with a focus on the Arduino IDE, and thus was not very friendly to Arduino CLI users.
1 parent 8a5dbd0 commit 472dfec

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Diff for: docs/sketch-build-process.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -73,10 +73,11 @@ The folder name contains the include | `AnAwesomeServoForWhatever`
7373

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

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

8182
## Compilation
8283

0 commit comments

Comments
 (0)