Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions app/src/processing/app/debug/Compiler.java
Original file line number Diff line number Diff line change
Expand Up @@ -553,6 +553,7 @@ static private List getCommandCompilerS(String avrBasePath, List includePaths,
"-DARDUINO=" + Base.REVISION,
"-DUSB_VID=" + boardPreferences.get("build.vid"),
"-DUSB_PID=" + boardPreferences.get("build.pid"),
"-D__PROG_TYPES_COMPAT__",
}));

for (int i = 0; i < includePaths.size(); i++) {
Expand Down Expand Up @@ -583,6 +584,7 @@ static private List getCommandCompilerC(String avrBasePath, List includePaths,
"-DUSB_VID=" + boardPreferences.get("build.vid"),
"-DUSB_PID=" + boardPreferences.get("build.pid"),
"-DARDUINO=" + Base.REVISION,
"-D__PROG_TYPES_COMPAT__",
}));

for (int i = 0; i < includePaths.size(); i++) {
Expand Down Expand Up @@ -616,6 +618,7 @@ static private List getCommandCompilerCPP(String avrBasePath,
"-DUSB_VID=" + boardPreferences.get("build.vid"),
"-DUSB_PID=" + boardPreferences.get("build.pid"),
"-DARDUINO=" + Base.REVISION,
"-D__PROG_TYPES_COMPAT__",
}));

for (int i = 0; i < includePaths.size(); i++) {
Expand Down