Skip to content

Commit c28ea8c

Browse files
saveHex: rename recipe.hex -> recipe.output
Signed-off-by: Arnav Gupta <championswimmer@gmail.com>
1 parent fa992e7 commit c28ea8c

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

app/src/processing/app/Editor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
Part of the Processing project - http://processing.org
55
66
Copyright (c) 2004-09 Ben Fry and Casey Reas
7-
Copyright (c) 2001-04 Massachusetts Institute of Technol("Expoogy
7+
Copyright (c) 2001-04 Massachusetts Institute of Technology
88
99
This program is free software; you can redistribute it and/or modify
1010
it under the terms of the GNU General Public License version 2

arduino-core/src/processing/app/debug/Compiler.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1059,9 +1059,9 @@ void saveHex() throws RunnerException {
10591059

10601060
String[] cmdArray;
10611061
try {
1062-
String tmp_file = prefs.getOrExcept("recipe.hex.tmp_file");
1062+
String tmp_file = prefs.getOrExcept("recipe.output.tmp_file");
10631063
tmp_file = StringReplacer.replaceFromMapping(tmp_file, dict);
1064-
String save_file = prefs.getOrExcept("recipe.hex.save_file");
1064+
String save_file = prefs.getOrExcept("recipe.output.save_file");
10651065
save_file = StringReplacer.replaceFromMapping(save_file, dict);
10661066

10671067
File hexFile = new File(prefs.get("build.path") + "/" + tmp_file);

hardware/arduino/avr/platform.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,8 @@ recipe.objcopy.eep.pattern="{compiler.path}{compiler.objcopy.cmd}" {compiler.obj
6868
recipe.objcopy.hex.pattern="{compiler.path}{compiler.elf2hex.cmd}" {compiler.elf2hex.flags} {compiler.elf2hex.extra_flags} "{build.path}/{build.project_name}.elf" "{build.path}/{build.project_name}.hex"
6969

7070
## Save hex
71-
recipe.hex.tmp_file={build.project_name}.hex
72-
recipe.hex.save_file={build.project_name}.{build.variant}.hex
71+
recipe.output.tmp_file={build.project_name}.hex
72+
recipe.output.save_file={build.project_name}.{build.variant}.hex
7373

7474
## Compute size
7575
recipe.size.pattern="{compiler.path}{compiler.size.cmd}" -A "{build.path}/{build.project_name}.elf"

hardware/arduino/sam/platform.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,8 @@ recipe.objcopy.eep.pattern=
7272
recipe.objcopy.hex.pattern="{compiler.path}{compiler.elf2hex.cmd}" {compiler.elf2hex.flags} {compiler.elf2hex.extra_flags} "{build.path}/{build.project_name}.elf" "{build.path}/{build.project_name}.bin"
7373

7474
## Save hex
75-
recipe.hex.tmp_file={build.project_name}.bin
76-
recipe.hex.save_file={build.project_name}.{build.variant}.bin
75+
recipe.output.tmp_file={build.project_name}.bin
76+
recipe.output.save_file={build.project_name}.{build.variant}.bin
7777

7878
## Compute size
7979
recipe.size.pattern="{compiler.path}{compiler.size.cmd}" -A "{build.path}/{build.project_name}.elf"

0 commit comments

Comments
 (0)