mirror of
https://github.com/arduino/Arduino.git
synced 2024-11-29 10:24:12 +01:00
Examples of arch-independent libs from Arduino goes into Examples for any board
The other cases remain unchanged
This commit is contained in:
parent
821ee53d40
commit
096e545257
@ -1205,7 +1205,13 @@ public class Base {
|
|||||||
// Sketchbook Libraries (including incompatible)
|
// Sketchbook Libraries (including incompatible)
|
||||||
} else if (libraryLocation.equals(sketchbookLibraryPath)) {
|
} else if (libraryLocation.equals(sketchbookLibraryPath)) {
|
||||||
if (compatible) {
|
if (compatible) {
|
||||||
sketchbookLibs.add(lib);
|
// libraries promoted from sketchbook (behave as builtin)
|
||||||
|
if (lib.getTypes() != null && lib.getTypes().contains("Arduino")
|
||||||
|
&& lib.getArchitectures().contains("*")) {
|
||||||
|
ideLibs.add(lib);
|
||||||
|
} else {
|
||||||
|
sketchbookLibs.add(lib);
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
sketchbookIncompatibleLibs.add(lib);
|
sketchbookIncompatibleLibs.add(lib);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user