mirror of
https://github.com/esp8266/Arduino.git
synced 2025-06-17 22:23:10 +03:00
When build.core is not defined, fall back to "arduino". Fixes #2635
This commit is contained in:
@ -426,7 +426,7 @@ public class Compiler implements MessageConsumer {
|
||||
TargetPlatform targetPlatform = BaseNoGui.getTargetPlatform();
|
||||
TargetPlatform corePlatform = null;
|
||||
PreferencesMap boardPreferences = BaseNoGui.getBoardPreferences();
|
||||
String core = boardPreferences.get("build.core");
|
||||
String core = boardPreferences.get("build.core", "arduino");
|
||||
if (core.contains(":")) {
|
||||
String[] split = core.split(":");
|
||||
core = split[1];
|
||||
|
Reference in New Issue
Block a user