mirror of
https://github.com/esp8266/Arduino.git
synced 2025-06-17 22:23:10 +03:00
Merge branch 'master' into ide-1.5.x
This commit is contained in:
@ -518,6 +518,18 @@ public class Compiler implements MessageConsumer {
|
||||
}
|
||||
}
|
||||
|
||||
if (s.contains("undefined reference to `SPIClass::begin()'") &&
|
||||
s.contains("libraries/Robot_Control")) {
|
||||
String error = _("Please import the SPI library from the Sketch > Import Library menu.");
|
||||
exception = new RunnerException(error);
|
||||
}
|
||||
|
||||
if (s.contains("undefined reference to `Wire'") &&
|
||||
s.contains("libraries/Robot_Control")) {
|
||||
String error = _("Please import the Wire library from the Sketch > Import Library menu.");
|
||||
exception = new RunnerException(error);
|
||||
}
|
||||
|
||||
System.err.print(s);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user