File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed
app/src/processing/app/debug Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -101,6 +101,18 @@ public boolean compile(boolean _verbose) throws RunnerException {
101
101
}
102
102
if (verbose )
103
103
System .out .println ();
104
+
105
+ String arch = Base .getTargetPlatform ().getId ();
106
+ for (Library lib : sketch .getImportedLibraries ()) {
107
+ if (!lib .supportsArchitecture (arch )) {
108
+ System .err .println (I18n
109
+ .format (_ ("WARNING: library {0} claims to run on {1} "
110
+ + "architecture(s) and may be incompatible with your"
111
+ + " current board which runs on [{2}] architecture." ), lib
112
+ .getName (), lib .getArchitectures (), arch ));
113
+ System .err .println ();
114
+ }
115
+ }
104
116
105
117
// 1. compile the sketch (already in the buildPath)
106
118
sketch .setCompilingProgress (30 );
You can’t perform that action at this time.
0 commit comments