1
0
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:
David A. Mellis
2007-10-07 18:39:14 +00:00
parent adeff81ceb
commit 63280151de
8 changed files with 156 additions and 280 deletions

View File

@ -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);
}
}