File tree 1 file changed +5
-2
lines changed
io.sloeber.core/src/io/sloeber/core/tools
1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change 39
39
import io .sloeber .core .api .IInstallLibraryHandler ;
40
40
import io .sloeber .core .api .LibraryDescriptor ;
41
41
import io .sloeber .core .api .LibraryManager ;
42
+ import io .sloeber .core .api .SloeberProject ;
42
43
import io .sloeber .core .common .Common ;
43
44
import io .sloeber .core .common .ConfigurationPreferences ;
44
45
import io .sloeber .core .common .Const ;
@@ -111,9 +112,11 @@ private static Map<String, IPath> findAllSubFolders(IPath ipath) {
111
112
* @return all the library folder names. May contain empty values.
112
113
*/
113
114
private static Map <String , IPath > findAllHarwareLibraries (
114
- ICConfigurationDescription confdesc ) {
115
+ ICConfigurationDescription confDesc ) {
115
116
Map <String , IPath > ret = new HashMap <>();
116
- BoardDescription boardDescriptor = new BoardDescription (confdesc );
117
+ IProject project = confDesc .getProjectDescription ().getProject ();
118
+ SloeberProject sProject = SloeberProject .getSloeberProject (project );
119
+ BoardDescription boardDescriptor = sProject .getBoardDescription (confDesc );
117
120
// first add the referenced
118
121
IPath libPath = boardDescriptor .getReferencedLibraryPath ();
119
122
if (libPath != null ) {
You can’t perform that action at this time.
0 commit comments