mirror of
https://github.com/arduino/Arduino.git
synced 2025-03-01 23:29:28 +01:00
Added error message if a referenced core is not found
This commit is contained in:
parent
1d74bb87ac
commit
8c5b064956
@ -169,6 +169,9 @@ public class BaseNoGui {
|
|||||||
ContributedPlatform referencedPlatform = indexer.getContributedPlaform(referenced);
|
ContributedPlatform referencedPlatform = indexer.getContributedPlaform(referenced);
|
||||||
if (referencedPlatform != null)
|
if (referencedPlatform != null)
|
||||||
requiredTools.addAll(referencedPlatform.getResolvedTools());
|
requiredTools.addAll(referencedPlatform.getResolvedTools());
|
||||||
|
} else {
|
||||||
|
String msg = tr("The current selected board needs the core '{0}' that is not installed.");
|
||||||
|
System.out.println(I18n.format(msg, core));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user