mirror of
https://github.com/esp8266/Arduino.git
synced 2025-07-30 16:24:09 +03:00
Updating to C++, new Mac avr tools, Windows to be updated.
This commit is contained in:
@ -1382,7 +1382,8 @@ public class Sketch {
|
||||
//System.out.println();
|
||||
|
||||
} else {
|
||||
code[0].preprocName = className + "." + Preferences.get("build.extension");
|
||||
//code[0].preprocName = className + "." + Preferences.get("build.extension");
|
||||
code[0].preprocName = className + ".cpp";
|
||||
}
|
||||
|
||||
// store this for the compiler and the runtime
|
||||
@ -1511,7 +1512,8 @@ public class Sketch {
|
||||
// just write the the contents of 'program' to a .java file
|
||||
// into the build directory. uses byte stream and reader/writer
|
||||
// shtuff so that unicode bunk is properly handled
|
||||
String filename = code[i].name + "." + Preferences.get("build.extension");
|
||||
//String filename = code[i].name + "." + Preferences.get("build.extension");
|
||||
String filename = code[i].name + ".cpp";
|
||||
try {
|
||||
Base.saveFile(code[i].program, new File(buildPath, filename));
|
||||
} catch (IOException e) {
|
||||
|
Reference in New Issue
Block a user