mirror of
https://github.com/esp8266/Arduino.git
synced 2025-07-30 16:24:09 +03:00
Switched to new burn bootloader menu system, dynamically generated from the programmers.txt file.
This commit is contained in:
@ -220,6 +220,18 @@ public class Preferences {
|
||||
"Error reading the board definitions file. " +
|
||||
"Please re-download or re-unzip Arduino.\n", ex);
|
||||
}
|
||||
|
||||
try {
|
||||
load(new FileInputStream(new File(
|
||||
System.getProperty("user.dir") +
|
||||
File.separator + "hardware" +
|
||||
File.separator + "programmers.txt")),
|
||||
"programmers");
|
||||
} catch (Exception ex) {
|
||||
Base.showError("Error reading programmers definitions",
|
||||
"Error reading the programmers definitions file. " +
|
||||
"Please re-download or re-unzip Arduino.\n", ex);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user