Skip to content

Commit 8d9613b

Browse files
championswimmerFederico Fissore
authored and
Federico Fissore
committed
update Sketch menu, add Save hex option
* Moving Upload options from "File" menu to "Sketch" menu as those are sketch actions more than file actions. Signed-off-by: Arnav Gupta <championswimmer@gmail.com>
1 parent 05245b7 commit 8d9613b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

platform.txt

+4
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,10 @@ recipe.c.combine.pattern="{compiler.path}{compiler.c.elf.cmd}" {compiler.c.elf.f
7171
recipe.objcopy.eep.pattern="{compiler.path}{compiler.objcopy.cmd}" {compiler.objcopy.eep.flags} {compiler.objcopy.eep.extra_flags} "{build.path}/{build.project_name}.elf" "{build.path}/{build.project_name}.eep"
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}.hex"
7373

74+
## Save hex
75+
recipe.hex.tmp_file={build.project_name}.hex
76+
recipe.hex.save_file={build.project_name}.{build.variant}.hex
77+
7478
## Compute size
7579
recipe.size.pattern="{compiler.path}{compiler.size.cmd}" -A "{build.path}/{build.project_name}.elf"
7680
recipe.size.regex=^(?:\.text|\.data|\.bootloader)\s+([0-9]+).*

0 commit comments

Comments
 (0)