mirror of
https://github.com/esp8266/Arduino.git
synced 2025-06-16 11:21:18 +03:00
Now rebuilding libraries when switching microcontrollers. Thanks Nick.
This commit is contained in:
@ -819,6 +819,16 @@ public class Editor extends JFrame
|
||||
burnBootloaderItem.setEnabled(bootloadingEnabled);
|
||||
if (burnBootloaderParallelItem != null)
|
||||
burnBootloaderParallelItem.setEnabled(bootloadingEnabled);
|
||||
|
||||
try {
|
||||
LibraryManager libraryManager = new LibraryManager();
|
||||
libraryManager.rebuildAllBuilt();
|
||||
} catch (IOException e) {
|
||||
e.printStackTrace();
|
||||
} catch (RunnerException e) {
|
||||
message("Error rebuilding libraries...");
|
||||
error(e);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user