Skip to content

Commit 65e4f1d

Browse files
authored
[skip changelog] Document location priority of custom libraries paths (#783)
Custom libraries paths may be specified via arduino-cli compile --libraries.
1 parent b2c079f commit 65e4f1d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

docs/sketch-build-process.md

+1
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ 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 a custom libraries path specified via the [`--libraries` option](../commands/arduino-cli_compile/#options) of `arduino-cli compile` (in decreasing order of priority when multiple custom paths are defined)
7677
1. The library is in the `libraries` subfolder of the IDE's sketchbook or Arduino CLI's user directory
7778
1. The library is bundled with the board platform/core ([`{runtime.platform.path}/libraries`](platform-specification.md#global-predefined-properties))
7879
1. The library is bundled with the [referenced](platform-specification.md#referencing-another-core-variant-or-tool) board platform/core

0 commit comments

Comments
 (0)