Skip to content

Commit 8c5b064

Browse files
committed
Added error message if a referenced core is not found
1 parent 1d74bb8 commit 8c5b064

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

arduino-core/src/processing/app/BaseNoGui.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,9 @@ static public PreferencesMap getBoardPreferences() {
169169
ContributedPlatform referencedPlatform = indexer.getContributedPlaform(referenced);
170170
if (referencedPlatform != null)
171171
requiredTools.addAll(referencedPlatform.getResolvedTools());
172+
} else {
173+
String msg = tr("The current selected board needs the core '{0}' that is not installed.");
174+
System.out.println(I18n.format(msg, core));
172175
}
173176
}
174177

0 commit comments

Comments
 (0)