()
| 236 | } |
| 237 | |
| 238 | static public File getHardwareFolder() { |
| 239 | // calculate on the fly because it's needed by Preferences.init() to find |
| 240 | // the boards.txt and programmers.txt preferences files (which happens |
| 241 | // before the other folders / paths get cached). |
| 242 | return getContentFile("hardware"); |
| 243 | } |
| 244 | |
| 245 | static public String getHardwarePath() { |
| 246 | return getHardwareFolder().getAbsolutePath(); |
no test coverage detected