mirror of
https://github.com/esp8266/Arduino.git
synced 2025-06-17 22:23:10 +03:00
Updating code for the new folder organization. This version should be able to compile and upload sketches, including libraries, but burning bootloaders won't work.
This commit is contained in:
@ -42,13 +42,13 @@ public class Sizer implements MessageConsumer {
|
||||
String userdir = System.getProperty("user.dir") + File.separator;
|
||||
String avrBasePath;
|
||||
if(Base.isMacOS()) {
|
||||
avrBasePath = new String("tools/avr/bin/");
|
||||
avrBasePath = new String("hardware/tools/avr/bin/");
|
||||
}
|
||||
else if(Base.isLinux()) {
|
||||
avrBasePath = new String("");
|
||||
}
|
||||
else {
|
||||
avrBasePath = new String(userdir + "tools/avr/bin/");
|
||||
avrBasePath = new String(userdir + "hardware/tools/avr/bin/");
|
||||
}
|
||||
String commandSize[] = new String[] {
|
||||
avrBasePath + "avr-size",
|
||||
|
Reference in New Issue
Block a user