File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed
arduino-core/src/processing/app Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -171,6 +171,16 @@ static public PreferencesMap getBoardPreferences() {
171171 if (platform != null )
172172 requiredTools .addAll (platform .getResolvedTools ());
173173
174+ // Add all tools dependencies from the (possibily) referenced core
175+ String core = prefs .get ("build.core" );
176+ if (core .contains (":" )) {
177+ String split [] = core .split (":" );
178+ TargetPlatform referenced = BaseNoGui .getCurrentTargetPlatformFromPackage (split [0 ]);
179+ ContributedPlatform referencedPlatform = indexer .getContributedPlaform (referenced );
180+ if (referencedPlatform != null )
181+ requiredTools .addAll (referencedPlatform .getResolvedTools ());
182+ }
183+
174184 String prefix = "runtime.tools." ;
175185 for (ContributedTool tool : requiredTools ) {
176186 File folder = tool .getDownloadableContribution (getPlatform ()).getInstalledFolder ();
You can’t perform that action at this time.
0 commit comments